Commit e50f0204 authored by Karsten Loesing's avatar Karsten Loesing
Browse files

Avoid unnecessary continue and empty block.

parent ec51d14d
......@@ -76,14 +76,10 @@ public class ExoneraTorDatabaseImporter {
try {
BufferedReader br = new BufferedReader(new FileReader(configFile));
while ((line = br.readLine()) != null) {
if (line.startsWith("#") || line.length() < 1) {
continue;
} else if (line.startsWith("ExoneraTorDatabaseJdbc")) {
if (line.startsWith("ExoneraTorDatabaseJdbc")) {
jdbcString = line.split(" ")[1];
} else if (line.startsWith("ExoneraTorImportDirectory")) {
importDirString = line.split(" ")[1];
} else {
/* Ignore unrecognized configuration keys. */
}
}
br.close();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment