[metrics-bugs] #22674 [Metrics/metrics-lib]: Consider changing instance methods to static methods

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Jun 20 18:45:01 UTC 2017


#22674: Consider changing instance methods to static methods
---------------------------------+------------------------------
 Reporter:  karsten              |          Owner:  metrics-team
     Type:  enhancement          |         Status:  new
 Priority:  Medium               |      Milestone:
Component:  Metrics/metrics-lib  |        Version:
 Severity:  Normal               |     Resolution:
 Keywords:                       |  Actual Points:
Parent ID:                       |         Points:
 Reviewer:                       |        Sponsor:
---------------------------------+------------------------------

Comment (by iwakeh):

 I think the entire structure needs some improvement.
 This small change is useful to mark methods that don't rely on instance
 variables/methods as 'static'.
 Anyway, `parseDescriptors` used to be static before and that was just
 changed (I missed the reason).

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


More information about the metrics-bugs mailing list