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

[tor-commits] [onionoo/master] Remove an unused import and an unused code line.



commit d2863472be2f6f957d2acf7616153e278bf95951
Author: Karsten Loesing <karsten.loesing@xxxxxxx>
Date:   Wed Aug 1 08:06:55 2012 +0200

    Remove an unused import and an unused code line.
---
 src/org/torproject/onionoo/WeightsDataWriter.java |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/org/torproject/onionoo/WeightsDataWriter.java b/src/org/torproject/onionoo/WeightsDataWriter.java
index c4a887b..b02e0c0 100644
--- a/src/org/torproject/onionoo/WeightsDataWriter.java
+++ b/src/org/torproject/onionoo/WeightsDataWriter.java
@@ -13,7 +13,6 @@ import java.text.SimpleDateFormat;
 import java.util.ArrayList;
 import java.util.Arrays;
 import java.util.Comparator;
-import java.util.Date;
 import java.util.HashMap;
 import java.util.Iterator;
 import java.util.List;
@@ -103,7 +102,6 @@ public class WeightsDataWriter {
   private void updateWeightsHistory(long validAfterMillis,
       long freshUntilMillis,
       SortedMap<String, double[]> pathSelectionWeights) {
-    int files = pathSelectionWeights.size();
     List<HistoryUpdateWorker> historyUpdateWorkers =
         new ArrayList<HistoryUpdateWorker>();
     for (int i = 0; i < HISTORY_UPDATER_WORKERS_NUM; i++) {



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