diff options
Diffstat (limited to 'java/src/Ice/_ObjectDelM.java')
-rw-r--r-- | java/src/Ice/_ObjectDelM.java | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/java/src/Ice/_ObjectDelM.java b/java/src/Ice/_ObjectDelM.java index 2a8bb93da0c..f1c2501fc2b 100644 --- a/java/src/Ice/_ObjectDelM.java +++ b/java/src/Ice/_ObjectDelM.java @@ -126,6 +126,11 @@ public class _ObjectDelM implements _ObjectDel } } } + // + // We allow secure connections also if they are not explicitly + // required. + // + /* else { java.util.ListIterator i = endpoints.listIterator(); @@ -138,9 +143,10 @@ public class _ObjectDelM implements _ObjectDel } } } + */ final int sz = endpoints.size(); - if (endpoints.isEmpty()) + if (sz == 0) { throw new NoEndpointException(); } |