diff options
Diffstat (limited to 'java/src/Ice/ConnectionI.java')
-rw-r--r-- | java/src/Ice/ConnectionI.java | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/java/src/Ice/ConnectionI.java b/java/src/Ice/ConnectionI.java index 8409ba88d75..640e89b815a 100644 --- a/java/src/Ice/ConnectionI.java +++ b/java/src/Ice/ConnectionI.java @@ -886,13 +886,6 @@ public final class ConnectionI extends IceInternal.EventHandler implements Conne } } - public int - timeout() - { - // No mutex protection necessary, _endpoint is immutable. - return _endpoint.timeout(); - } - public IceInternal.Endpoint endpoint() { @@ -1372,7 +1365,13 @@ public final class ConnectionI extends IceInternal.EventHandler implements Conne public String type() { - return _type; + return _type; // No mutex lock, _type is immutable. + } + + public int + timeout() + { + return _endpoint.timeout(); // No mutex protection necessary, _endpoint is immutable. } public String |