[tor-bugs] #15654 [Onionoo]: proper closing of BufferedWriter in LockFile.java

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat May 9 15:35:42 UTC 2015


#15654: proper closing of BufferedWriter in LockFile.java
-----------------------------+-----------------
     Reporter:  firebrand    |      Owner:
         Type:  enhancement  |     Status:  new
     Priority:  trivial      |  Milestone:
    Component:  Onionoo      |    Version:
   Resolution:               |   Keywords:
Actual Points:               |  Parent ID:
       Points:               |
-----------------------------+-----------------

Comment (by firebrand):

 I think "try-with-resources" is the most elegant way to handle these
 issues. Should I have a look at the codebase and fix all places that I
 find?

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/15654#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list