commit 6c94482adbd651d787ecc3c32d5d1d79395db7af Author: Iain R. Learmonth irl@fsfe.org Date: Tue Aug 14 14:21:06 2018 +0100
Remove pointless assignment in NodeStatus
Fixes: #27124 --- src/main/java/org/torproject/onionoo/docs/NodeStatus.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/main/java/org/torproject/onionoo/docs/NodeStatus.java b/src/main/java/org/torproject/onionoo/docs/NodeStatus.java index 63720d9..50c66f9 100644 --- a/src/main/java/org/torproject/onionoo/docs/NodeStatus.java +++ b/src/main/java/org/torproject/onionoo/docs/NodeStatus.java @@ -565,8 +565,7 @@ public class NodeStatus extends Document { if (!parts[14].equals("null")) { nodeStatus.setPortList(parts[14]); } - long firstSeenMillis = lastSeenMillis; - firstSeenMillis = DateTimeHelper.parse(parts[15] + " " + parts[16]); + long firstSeenMillis = DateTimeHelper.parse(parts[15] + " " + parts[16]); if (firstSeenMillis < 0L) { log.error("Parse exception while parsing node status " + "line '" + documentString + "'. Skipping.");