diff --git a/cpp/src/Ice/ConnectionI.cpp b/cpp/src/Ice/ConnectionI.cpp index d31529d26c8..62f5b867979 100644 --- a/cpp/src/Ice/ConnectionI.cpp +++ b/cpp/src/Ice/ConnectionI.cpp @@ -1569,9 +1569,7 @@ Ice::ConnectionI::message(ThreadPoolCurrent& current) // it from the thread pool's selector. _threadPool->unregister(shared_from_this(), current.operation); - // - // We start out in holding state. - // + // The connection starts in the holding state. It will be activated by the connection factory. setState(StateHolding); if (_connectionStartCompleted) { diff --git a/csharp/src/Ice/ConnectionI.cs b/csharp/src/Ice/ConnectionI.cs index 75aeb484497..0c35682db2e 100644 --- a/csharp/src/Ice/ConnectionI.cs +++ b/csharp/src/Ice/ConnectionI.cs @@ -51,9 +51,7 @@ public void start(StartCallback callback) return; } - // - // We start out in holding state. - // + // The connection starts in the holding state. It will be activated by the connection factory. setState(StateHolding); } } diff --git a/java/src/Ice/src/main/java/com/zeroc/Ice/ConnectionI.java b/java/src/Ice/src/main/java/com/zeroc/Ice/ConnectionI.java index f4321d67aed..ad440c14afa 100644 --- a/java/src/Ice/src/main/java/com/zeroc/Ice/ConnectionI.java +++ b/java/src/Ice/src/main/java/com/zeroc/Ice/ConnectionI.java @@ -946,9 +946,8 @@ public void message(com.zeroc.IceInternal.ThreadPoolCurrent current) { // written. So unregister it from the thread pool's selector. _threadPool.unregister(this, current.operation); - // - // We start out in holding state. - // + // The connection starts in the holding state. It will be activated by the + // connection factory. setState(StateHolding); if (_startCallback != null) { startCB = _startCallback;