[tor-commits] [exonerator/master] Remove redundant initializers.

karsten at torproject.org karsten at torproject.org
Mon Aug 27 12:37:56 UTC 2018


commit 7c318d3400c1e73b92323e42a985f270f3a4bf2f
Author: Karsten Loesing <karsten.loesing at gmx.net>
Date:   Mon Aug 20 16:29:01 2018 +0200

    Remove redundant initializers.
---
 .../org/torproject/metrics/exonerator/ExoneraTorDatabaseImporter.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/java/org/torproject/metrics/exonerator/ExoneraTorDatabaseImporter.java b/src/main/java/org/torproject/metrics/exonerator/ExoneraTorDatabaseImporter.java
index ab4f094..00a3d89 100644
--- a/src/main/java/org/torproject/metrics/exonerator/ExoneraTorDatabaseImporter.java
+++ b/src/main/java/org/torproject/metrics/exonerator/ExoneraTorDatabaseImporter.java
@@ -71,7 +71,7 @@ public class ExoneraTorDatabaseImporter {
       logger.error("Could not find config file.  Exiting.");
       System.exit(1);
     }
-    String line = null;
+    String line;
     try {
       BufferedReader br = new BufferedReader(new FileReader(configFile));
       while ((line = br.readLine()) != null) {
@@ -177,7 +177,7 @@ public class ExoneraTorDatabaseImporter {
       try {
         BufferedReader br = new BufferedReader(new FileReader(
             parseHistoryFile));
-        String line = null;
+        String line;
         int lineNumber = 0;
         while ((line = br.readLine()) != null) {
           lineNumber++;





More information about the tor-commits mailing list