[tor-bugs] #23752 [Metrics]: Use Java 8 features in all of Metrics' Java products (Summary ticket)
Tor Bug Tracker & Wiki
blackhole at torproject.org
Thu Oct 26 16:24:03 UTC 2017
#23752: Use Java 8 features in all of Metrics' Java products (Summary ticket)
--------------------------+------------------------------
Reporter: iwakeh | Owner: metrics-team
Type: enhancement | Status: new
Priority: Medium | Milestone:
Component: Metrics | Version:
Severity: Normal | Resolution:
Keywords: metrics-2017 | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
--------------------------+------------------------------
Comment (by iwakeh):
Use `java.util.Optional` especially for optional values in metrics-lib
api, for example, the problems in #24012 et al. could have been prevented.
`Optional` (used in the right places) provides more maintainable and
readable code.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/23752#comment:8>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list