Skip to content

Commit

Permalink
Fix affected whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
ArneBab committed Dec 1, 2024
1 parent 13c71cb commit 3aad7ea
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/freenet/node/PeerManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ private boolean readPeers(File peersFile, NodeCrypto crypto, OpennetManager open
// read the peers file
try {
while (true) {
peerEntries.add(new SimpleFieldSet(br, false, true));
peerEntries.add(new SimpleFieldSet(br, false, true));
}
} catch(EOFException e) {
// End of file, fine
Expand Down Expand Up @@ -311,13 +311,13 @@ private boolean readPeers(File peersFile, NodeCrypto crypto, OpennetManager open
}
}
if(!droppedOldPeers.isEmpty()) {
try {
node.getClientCore().getAlerts().register(droppedOldPeers);
Logger.error(this, droppedOldPeers.getText());
} catch (Throwable t) {
// Startup MUST complete, don't let client layer problems kill it.
Logger.error(this, "Caught error telling user about dropped peers", t);
}
try {
node.getClientCore().getAlerts().register(droppedOldPeers);
Logger.error(this, droppedOldPeers.getText());
} catch (Throwable t) {
// Startup MUST complete, don't let client layer problems kill it.
Logger.error(this, "Caught error telling user about dropped peers", t);
}
}
return !someBroken;
}
Expand Down

0 comments on commit 3aad7ea

Please sign in to comment.