Mar. 3rd, 2026

Refactoring

Mar. 3rd, 2026 10:42 pm
billroper: (Default)
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 56789
10111213141516
17181920212223
24252627282930
31      

Most Popular Tags

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated May. 6th, 2026 09:26 am
Powered by Dreamwidth Studios