diff --git a/router/java/src/net/i2p/router/transport/TransportImpl.java b/router/java/src/net/i2p/router/transport/TransportImpl.java index 415e7b9e27b7e116e02bd25718b713ed28670452..d5c70a027642d2eba982176b26ec794e0fca47c1 100644 --- a/router/java/src/net/i2p/router/transport/TransportImpl.java +++ b/router/java/src/net/i2p/router/transport/TransportImpl.java @@ -705,8 +705,6 @@ public abstract class TransportImpl implements Transport { rv = target.getTargetAddresses(getStyle(), alt); else rv = target.getTargetAddresses(getStyle()); - if (rv.isEmpty()) - return rv; if (rv.size() > 1) { // Shuffle so everybody doesn't use the first one Collections.shuffle(rv, _context.random()); @@ -726,8 +724,8 @@ public abstract class TransportImpl implements Transport { case IPV6_NOT_PREFERRED: adj = 1; break; - default: + default: case IPV6_ENABLED: adj = 0; break;