[tor-bugs] #12866 [Onionoo]: cycle between util and docs packages

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Aug 15 07:51:22 UTC 2014


#12866: cycle between util and docs packages
-------------------------+-----------------
     Reporter:  iwakeh   |      Owner:
         Type:  defect   |     Status:  new
     Priority:  normal   |  Milestone:
    Component:  Onionoo  |    Version:
   Resolution:           |   Keywords:
Actual Points:           |  Parent ID:
       Points:           |
-------------------------+-----------------

Comment (by iwakeh):

 I think the docs package is the right place for DateTimeHelper and it
 should not be
 torn apart b/c

  * most usages of parsing/formatting occur there and
  * all other classes needing that functionality depend on the docs package
 anyway and
  even more important only use DateTimeHelper in order to create Documents
 (afaik).
  * Keeping the entire formatting/parsing in on place is easier to test and
 maintain.
  (the future (i.e. java8) provides a new package java.time for handling
 temporal things.)

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


More information about the tor-bugs mailing list