diff options
Diffstat (limited to 'java/src/IceInternal/OutgoingConnectionFactory.java')
-rw-r--r-- | java/src/IceInternal/OutgoingConnectionFactory.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/java/src/IceInternal/OutgoingConnectionFactory.java b/java/src/IceInternal/OutgoingConnectionFactory.java index 0ec64faa614..d5e4c47fefa 100644 --- a/java/src/IceInternal/OutgoingConnectionFactory.java +++ b/java/src/IceInternal/OutgoingConnectionFactory.java @@ -91,7 +91,7 @@ public final class OutgoingConnectionFactory } public Ice.ConnectionI - create(EndpointI[] endpts, Ice.BooleanHolder compress) + create(EndpointI[] endpts, boolean hasMore, Ice.BooleanHolder compress) { assert(endpts.length > 0); EndpointI[] endpoints = new EndpointI[endpts.length]; @@ -341,7 +341,7 @@ public final class OutgoingConnectionFactory { StringBuffer s = new StringBuffer(); s.append("connection to endpoint failed"); - if(i < endpoints.length - 1) + if(hasMore || i < endpoints.length - 1) { s.append(", trying next endpoint\n"); } |