diff --git a/router/java/src/net/i2p/router/Blocklist.java b/router/java/src/net/i2p/router/Blocklist.java index 4788d1f37e54a57e8c7d6c48d35e10139f8d74ac..5f8112cc072c02f3092dd5c3b1af9621db67a550 100644 --- a/router/java/src/net/i2p/router/Blocklist.java +++ b/router/java/src/net/i2p/router/Blocklist.java @@ -280,7 +280,7 @@ public class Blocklist { } } - private Entry parse(String buf, boolean bitch) { + private Entry parse(String buf, boolean shouldLog) { byte[] ip1; byte[] ip2; int start1 = 0; @@ -365,15 +365,15 @@ public class Blocklist { ip2 = ip1; } } catch (UnknownHostException uhe) { - if (bitch && _log.shouldLog(Log.ERROR)) + if (shouldLog && _log.shouldLog(Log.ERROR)) _log.error("Format error in the blocklist file: " + buf); return null; } catch (NumberFormatException nfe) { - if (bitch && _log.shouldLog(Log.ERROR)) + if (shouldLog && _log.shouldLog(Log.ERROR)) _log.error("Format error in the blocklist file: " + buf); return null; } catch (IndexOutOfBoundsException ioobe) { - if (bitch && _log.shouldLog(Log.ERROR)) + if (shouldLog && _log.shouldLog(Log.ERROR)) _log.error("Format error in the blocklist file: " + buf); return null; }