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

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



commit 70e5f3f741fa899531e0ad42e3a702db6bfcb122
Author: iwakeh <iwakeh@xxxxxxxxxxxxxx>
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() {



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits