[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #22228 [Metrics/metrics-lib]: Deprecate setFailUnrecognizedDescriptorLines()



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs