[tor-commits] [onionoo/release] Add a comment to avoid future 'detective work'.

karsten at torproject.org karsten at torproject.org
Wed Feb 7 11:20:45 UTC 2018


commit 70e5f3f741fa899531e0ad42e3a702db6bfcb122
Author: iwakeh <iwakeh at torproject.org>
Date:   Wed Jan 17 19:29:14 2018 +0000

    Add a comment to avoid future 'detective work'.
---
 src/main/java/org/torproject/onionoo/server/NodeIndexer.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/main/java/org/torproject/onionoo/server/NodeIndexer.java b/src/main/java/org/torproject/onionoo/server/NodeIndexer.java
index 69baa53..e95eda9 100644
--- a/src/main/java/org/torproject/onionoo/server/NodeIndexer.java
+++ b/src/main/java/org/torproject/onionoo/server/NodeIndexer.java
@@ -125,6 +125,7 @@ public class NodeIndexer implements ServletContextListener, Runnable {
     indexerThread.interrupt();
   }
 
+  /* specialTime is only used for testing, see ResourceServletTest */
   private long specialTime = -1L;
 
   private void indexNodeStatuses() {





More information about the tor-commits mailing list