summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichi Henning <michi@zeroc.com>2005-06-22 06:45:38 +0000
committerMichi Henning <michi@zeroc.com>2005-06-22 06:45:38 +0000
commitf7e97b7423f6536df56b1ef3592731cb8bcce91c (patch)
treedb6665187717de1733883dc0a4b013a5e16e037a
parentFixed bug in IncomingConnectionFactory: if the constructor of TcpAcceptor (diff)
downloadice-f7e97b7423f6536df56b1ef3592731cb8bcce91c.tar.bz2
ice-f7e97b7423f6536df56b1ef3592731cb8bcce91c.tar.xz
ice-f7e97b7423f6536df56b1ef3592731cb8bcce91c.zip
Fixed typo in previous check-in.
-rw-r--r--javae/src/IceInternal/IncomingConnectionFactory.java27
1 files changed, 12 insertions, 15 deletions
diff --git a/javae/src/IceInternal/IncomingConnectionFactory.java b/javae/src/IceInternal/IncomingConnectionFactory.java
index d09d21c0e95..aebd19e2251 100644
--- a/javae/src/IceInternal/IncomingConnectionFactory.java
+++ b/javae/src/IceInternal/IncomingConnectionFactory.java
@@ -272,23 +272,20 @@ public final class IncomingConnectionFactory
}
_acceptor.listen();
+ //
+ // If we are in thread per connection mode, we also use
+ // one thread per incoming connection factory, that
+ // accepts new connections on this endpoint.
+ //
try
{
- //
- // If we are in thread per connection mode, we also use
- // one thread per incoming connection factory, that
- // accepts new connections on this endpoint.
- //
- try
- {
- _threadPerIncomingConnectionFactory = new ThreadPerIncomingConnectionFactory();
- _threadPerIncomingConnectionFactory.start();
- }
- catch(java.lang.Exception ex)
- {
- error("cannot create thread for incoming connection factory", ex);
- throw ex;
- }
+ _threadPerIncomingConnectionFactory = new ThreadPerIncomingConnectionFactory();
+ _threadPerIncomingConnectionFactory.start();
+ }
+ catch(java.lang.Exception ex)
+ {
+ error("cannot create thread for incoming connection factory", ex);
+ throw ex;
}
}
}