directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From trus...@apache.org
Subject svn commit: r371813 - /directory/trunks/mina/examples/src/test/java/org/apache/mina/examples/echoserver/ConnectorTest.java
Date Tue, 24 Jan 2006 04:48:46 GMT
Author: trustin
Date: Mon Jan 23 20:48:44 2006
New Revision: 371813

URL: http://svn.apache.org/viewcvs?rev=371813&view=rev
Log:
Fixed failing ConnectorTest

Modified:
    directory/trunks/mina/examples/src/test/java/org/apache/mina/examples/echoserver/ConnectorTest.java

Modified: directory/trunks/mina/examples/src/test/java/org/apache/mina/examples/echoserver/ConnectorTest.java
URL: http://svn.apache.org/viewcvs/directory/trunks/mina/examples/src/test/java/org/apache/mina/examples/echoserver/ConnectorTest.java?rev=371813&r1=371812&r2=371813&view=diff
==============================================================================
--- directory/trunks/mina/examples/src/test/java/org/apache/mina/examples/echoserver/ConnectorTest.java
(original)
+++ directory/trunks/mina/examples/src/test/java/org/apache/mina/examples/echoserver/ConnectorTest.java
Mon Jan 23 20:48:44 2006
@@ -18,7 +18,7 @@
  */
 package org.apache.mina.examples.echoserver;
 
-import java.net.BindException;
+import java.io.IOException;
 import java.net.InetSocketAddress;
 
 import junit.framework.Assert;
@@ -125,7 +125,7 @@
                     session = future.getSession();
                     break;
                 }
-                catch( BindException e )
+                catch( IOException e )
                 {
                     // Try again until we succeed to bind.
                 }



Mime
View raw message