#16626: Improved resource handling using try-with-resources
-------------------------+---------------------
Reporter: firebrand | Owner:
Type: enhancement | Status: new
Priority: minor | Milestone:
Component: Onionoo | Version:
Keywords: | Actual Points:
Parent ID: | Points:
-------------------------+---------------------
There are many places in the onionoo-code where file and stream handles
are not correctly closed within finally blocks. This patch reworks these
places to use Java 7's new try-with-resources functionality.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/16626>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
[email protected]
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs