diff --git a/router/java/src/net/i2p/router/Shitlist.java b/router/java/src/net/i2p/router/Shitlist.java
index fb26c010bb301d0066c713466857c9ba035180b1..a585f6b3b508b79b07fa3775a006ba22bbe95940 100644
--- a/router/java/src/net/i2p/router/Shitlist.java
+++ b/router/java/src/net/i2p/router/Shitlist.java
@@ -124,7 +124,7 @@ public class Shitlist {
         Entry e = new Entry();
         if (forever) {
             e.expireOn = _context.clock().now() + SHITLIST_DURATION_FOREVER;
-        else if (transport != null) {
+        } else if (transport != null) {
             e.expireOn = _context.clock().now() + SHITLIST_DURATION_PARTIAL;
         } else {
             long period = SHITLIST_DURATION_MS + _context.random().nextLong(SHITLIST_DURATION_MS);