commit d2863472be2f6f957d2acf7616153e278bf95951 Author: Karsten Loesing karsten.loesing@gmx.net 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++) {