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

[tor-commits] [exonerator/master] Remove unnecessary method call.



commit a4187326e58ea40ef3f43d0a0e5a86fe3b6d9c89
Author: Karsten Loesing <karsten.loesing@xxxxxxx>
Date:   Wed Nov 20 16:39:05 2019 +0100

    Remove unnecessary method call.
---
 .../org/torproject/metrics/exonerator/ExoneraTorDatabaseImporter.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/torproject/metrics/exonerator/ExoneraTorDatabaseImporter.java b/src/main/java/org/torproject/metrics/exonerator/ExoneraTorDatabaseImporter.java
index fcc534f..47261fc 100644
--- a/src/main/java/org/torproject/metrics/exonerator/ExoneraTorDatabaseImporter.java
+++ b/src/main/java/org/torproject/metrics/exonerator/ExoneraTorDatabaseImporter.java
@@ -380,7 +380,7 @@ public class ExoneraTorDatabaseImporter {
           parseHistoryFile));
       for (Map.Entry<String, Long> historyEntry :
           nextImportHistory.entrySet()) {
-        bw.write(String.valueOf(historyEntry.getValue()) + ","
+        bw.write(historyEntry.getValue() + ","
             + historyEntry.getKey() + "\n");
       }
       bw.close();

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