diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2009-09-23 11:49:04 -0230 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2009-09-23 11:49:04 -0230 |
commit | 83ede0edd22a3debf30779780a1070dfe01fc88e (patch) | |
tree | fa0dfa8b58243364b76c55d93443a7cff4f92631 /java/src/Ice/ObjectAdapterI.java | |
parent | bug 4217 - improve __cmp__ method in Python generated code (diff) | |
download | ice-83ede0edd22a3debf30779780a1070dfe01fc88e.tar.bz2 ice-83ede0edd22a3debf30779780a1070dfe01fc88e.tar.xz ice-83ede0edd22a3debf30779780a1070dfe01fc88e.zip |
Bug 3972 - reduced trace level for some output and other minor cleanup
Diffstat (limited to 'java/src/Ice/ObjectAdapterI.java')
-rw-r--r-- | java/src/Ice/ObjectAdapterI.java | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/java/src/Ice/ObjectAdapterI.java b/java/src/Ice/ObjectAdapterI.java index 7478f6ffb5d..0737878ca27 100644 --- a/java/src/Ice/ObjectAdapterI.java +++ b/java/src/Ice/ObjectAdapterI.java @@ -1209,26 +1209,16 @@ public final class ObjectAdapterI implements ObjectAdapter { // // If the PublishedEndpoints property isn't set, we compute the published enpdoints - // from the OA endpoints. + // from the OA endpoints, expanding any endpoints that may be listening on INADDR_ANY + // to include actual addresses in the published endpoints. // for(IceInternal.IncomingConnectionFactory factory : _incomingConnectionFactories) { - endpoints.add(factory.endpoint()); + endpoints.addAll(factory.endpoint().expand()); } - - // - // Expand any endpoints that may be listening on INADDR_ANY to - // include actual addresses in the published endpoints. - // - java.util.List<IceInternal.EndpointI> expandedEndpoints = new java.util.ArrayList<IceInternal.EndpointI>(); - for(IceInternal.EndpointI p : endpoints) - { - expandedEndpoints.addAll(p.expand()); - } - endpoints = expandedEndpoints; } - if(_instance.traceLevels().network >= 3) + if(_instance.traceLevels().network >= 1) { StringBuffer s = new StringBuffer("published endpoints for object adapter `"); s.append(_name); |