[metrics-bugs] #22228 [Metrics/metrics-lib]: Deprecate setFailUnrecognizedDescriptorLines()
Tor Bug Tracker & Wiki
blackhole at torproject.org
Thu May 11 08:48:21 UTC 2017
#22228: Deprecate setFailUnrecognizedDescriptorLines()
-------------------------------------+-------------------------------
Reporter: karsten | Owner: metrics-team
Type: enhancement | Status: new
Priority: Medium | Milestone: metrics-lib 1.7.0
Component: Metrics/metrics-lib | Version:
Severity: Normal | Keywords:
Actual Points: | Parent ID:
Points: | Reviewer:
Sponsor: |
-------------------------------------+-------------------------------
We have two methods,
`DescriptorParser#setFailUnrecognizedDescriptorLines()` and
`DescriptorReader#setFailUnrecognizedDescriptorLines()` that a) are never
used in known code and that b) can be easily replaced by checking whether
`Descriptor#getUnrecognizedLines()` contains any lines.
We should get rid of those methods.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/22228>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the metrics-bugs
mailing list