[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [exonerator/release] Remove redundant initializers.
commit 7c318d3400c1e73b92323e42a985f270f3a4bf2f
Author: Karsten Loesing <karsten.loesing@xxxxxxx>
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++;
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits