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

June 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
21222324252627
282930    

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jun. 21st, 2026 06:32 am
Powered by Dreamwidth Studios