directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From trus...@apache.org
Subject svn commit: r371280 - in /directory/sandbox/trustin/mina-spi/examples/src/test/java/org/apache/mina/examples/echoserver: AbstractTest.java ConnectorTest.java
Date Sun, 22 Jan 2006 12:59:38 GMT
Author: trustin
Date: Sun Jan 22 04:59:34 2006
New Revision: 371280

URL: http://svn.apache.org/viewcvs?rev=371280&view=rev
Log:
* Removed a unused println
* AbstractTest.tearDown() now uses IoService.unbindAll()

Modified:
    directory/sandbox/trustin/mina-spi/examples/src/test/java/org/apache/mina/examples/echoserver/AbstractTest.java
    directory/sandbox/trustin/mina-spi/examples/src/test/java/org/apache/mina/examples/echoserver/ConnectorTest.java

Modified: directory/sandbox/trustin/mina-spi/examples/src/test/java/org/apache/mina/examples/echoserver/AbstractTest.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trustin/mina-spi/examples/src/test/java/org/apache/mina/examples/echoserver/AbstractTest.java?rev=371280&r1=371279&r2=371280&view=diff
==============================================================================
--- directory/sandbox/trustin/mina-spi/examples/src/test/java/org/apache/mina/examples/echoserver/AbstractTest.java
(original)
+++ directory/sandbox/trustin/mina-spi/examples/src/test/java/org/apache/mina/examples/echoserver/AbstractTest.java
Sun Jan 22 04:59:34 2006
@@ -161,10 +161,6 @@
 
     protected void tearDown() throws Exception
     {
-        if( port != 0 )
-        {
-            IoService.unbind( "nio:socket:*:" + port );
-            IoService.unbind( "nio:datagram:*:" + port );
-        }
+        IoService.unbindAll();
     }
 }

Modified: directory/sandbox/trustin/mina-spi/examples/src/test/java/org/apache/mina/examples/echoserver/ConnectorTest.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trustin/mina-spi/examples/src/test/java/org/apache/mina/examples/echoserver/ConnectorTest.java?rev=371280&r1=371279&r2=371280&view=diff
==============================================================================
--- directory/sandbox/trustin/mina-spi/examples/src/test/java/org/apache/mina/examples/echoserver/ConnectorTest.java
(original)
+++ directory/sandbox/trustin/mina-spi/examples/src/test/java/org/apache/mina/examples/echoserver/ConnectorTest.java
Sun Jan 22 04:59:34 2006
@@ -102,8 +102,6 @@
             int clientPort = port;
             for( int i = 1; i < 65536; i ++ )
             {
-                System.out.println( i );
-                
                 clientPort = AvailablePortFinder.getNextAvailable( clientPort + 1 );
                 try
                 {



Mime
View raw message