[tor-bugs] #19615 [Metrics/CollecTor]: CollecTor should confirm to style guide

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Jul 14 12:19:38 UTC 2016


#19615: CollecTor should confirm to style guide
-------------------------------+------------------------------
 Reporter:  iwakeh             |          Owner:  iwakeh
     Type:  task               |         Status:  needs_review
 Priority:  Medium             |      Milestone:
Component:  Metrics/CollecTor  |        Version:
 Severity:  Normal             |     Resolution:
 Keywords:                     |  Actual Points:
Parent ID:  #19611             |         Points:
 Reviewer:                     |        Sponsor:
-------------------------------+------------------------------

Comment (by karsten):

 Reviewed, please look at [https://gitweb.torproject.org/karsten/metrics-
 db.git/log/?h=task-19615 my branch task-19615] with the following
 additional commits:
  - 03eb6c3 documents the change to the checkstyle file, which looks like a
 useful change to me.
  - 19ce99c makes some trivial whitespace fixes.
  - 9857cf0 replaces all suppressed Javadoc warnings with actual Javadocs.
 There were only 25 of them, so I figured we could rather fix those issues
 for real rather than just covering them.  I might have decided differently
 if there had been 250.
  - ac038af cleans up imports a bit, so that Eclipse looks less yellow
 here.

 While writing these Javadocs, I found a few issues in recently added code
 which I didn't fix yet:
  - `CreateIndexJson.main()` creates three `File` instances with
 configuration values as directory name and a still hard-coded string as
 file name.  Should we remove the hard-coded strings to keep overall paths
 unchanged from before that change?
  - It seems that `collector.properties` uses different paths for formerly
 hard-coded paths as new defaults.  Ideally, defaults should be exactly the
 same as before.  Should we change defaults back?

 If you like my changes, I'll squash and push to master.  The latter issues
 should go into a new ticket.

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


More information about the tor-bugs mailing list