Avoid unnecessary continue statements.

This commit is contained in:
Karsten Loesing 2018-08-21 15:19:29 +02:00
parent 4361bd5e5f
commit 6714bde1ce

View File

@ -143,13 +143,9 @@ public class BridgeSnapshotReader {
BufferedReader br3 = new BufferedReader(new StringReader(
ascii));
String firstLine;
while ((firstLine = br3.readLine()) != null) {
if (firstLine.startsWith("@")) {
continue;
} else {
break;
}
}
do {
firstLine = br3.readLine();
} while (firstLine != null && firstLine.startsWith("@"));
if (firstLine == null) {
continue;
}
@ -224,7 +220,6 @@ public class BridgeSnapshotReader {
} catch (IOException e) {
logger.warn("Could not parse bridge snapshot {}!", pop.getName(),
e);
continue;
}
}
}