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

March 2026

S M T W T F S
1 2 34567
891011121314
15161718192021
22232425262728
293031    

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Mar. 4th, 2026 10:15 am
Powered by Dreamwidth Studios