Refactoring
Mar. 3rd, 2026 10:42 pmToday 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. :)
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. :)