mirror of
https://github.com/torproject/collector.git
synced 2024-11-23 09:29:46 +00:00
Avoid unnecessary continue statements.
This commit is contained in:
parent
4361bd5e5f
commit
6714bde1ce
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user