From 0e2fd0c6f505adf373778a6def0fde546547824e Mon Sep 17 00:00:00 2001 From: zzz Date: Sat, 27 Oct 2012 12:47:07 +0000 Subject: [PATCH] tweak --- router/java/src/net/i2p/router/Blocklist.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/router/java/src/net/i2p/router/Blocklist.java b/router/java/src/net/i2p/router/Blocklist.java index 4788d1f37..5f8112cc0 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; }