Refactoring

Mar. 3rd, 2026 10:42 pm
billroper: (Default)
[personal profile] billroper
Today was another day of mild refactoring around one of my classes at work. This included adding a reference counter (which I had removed in an excess of enthusiasm for Java reference counting that was not entirely warranted) and changing many of the calls that fetch a member of the class to use try-with-resources to guarantee that the close() method will be called and the reference count reduced.

Tomorrow, I hope to start testing this. All of the unit tests are running, but that just proves that nothing acutely stupid is happening. It's the *system* tests where all of the action will be here.

And I want to see if this runs or just sits there and starts smoking. :)

Profile

billroper: (Default)
billroper

May 2026

S M T W T F S
      1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31      

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated May. 31st, 2026 07:27 am
Powered by Dreamwidth Studios