[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [onionoo/master] Remove two now unneeded lines.
commit 0a54fc03ff50c08ae05c81c91c66fee733403114
Author: Karsten Loesing <karsten.loesing@xxxxxxx>
Date: Mon Mar 19 15:23:10 2012 +0100
Remove two now unneeded lines.
---
src/org/torproject/onionoo/DetailDataWriter.java | 1 -
src/org/torproject/onionoo/SummaryDataWriter.java | 1 -
2 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/src/org/torproject/onionoo/DetailDataWriter.java b/src/org/torproject/onionoo/DetailDataWriter.java
index a65ef36..a6198b1 100644
--- a/src/org/torproject/onionoo/DetailDataWriter.java
+++ b/src/org/torproject/onionoo/DetailDataWriter.java
@@ -508,7 +508,6 @@ public class DetailDataWriter {
String running = entry.getRunning() ? "true" : "false";
String address = entry.getAddress();
int orPort = entry.getOrPort();
- int dirPort = entry.getDirPort();
StringBuilder sb = new StringBuilder();
sb.append("{\"version\":1,\n"
+ "\"hashed_fingerprint\":\"" + fingerprint + "\",\n"
diff --git a/src/org/torproject/onionoo/SummaryDataWriter.java b/src/org/torproject/onionoo/SummaryDataWriter.java
index 55f2f11..c438692 100644
--- a/src/org/torproject/onionoo/SummaryDataWriter.java
+++ b/src/org/torproject/onionoo/SummaryDataWriter.java
@@ -39,7 +39,6 @@ public class SummaryDataWriter {
SimpleDateFormat dateTimeFormat = new SimpleDateFormat(
"yyyy-MM-dd HH:mm:ss");
dateTimeFormat.setTimeZone(TimeZone.getTimeZone("UTC"));
- long now = System.currentTimeMillis();
String relaysPublishedString = dateTimeFormat.format(
this.lastValidAfterMillis);
String bridgesPublishedString = dateTimeFormat.format(
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits