You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by tr...@apache.org on 2005/04/09 04:03:16 UTC

svn commit: r160649 - directory/network/trunk/src/java/org/apache/mina/registry/SimpleServiceRegistry.java

Author: trustin
Date: Fri Apr  8 19:03:15 2005
New Revision: 160649

URL: http://svn.apache.org/viewcvs?view=rev&rev=160649
Log:
Removed unnecessary casts

Modified:
    directory/network/trunk/src/java/org/apache/mina/registry/SimpleServiceRegistry.java

Modified: directory/network/trunk/src/java/org/apache/mina/registry/SimpleServiceRegistry.java
URL: http://svn.apache.org/viewcvs/directory/network/trunk/src/java/org/apache/mina/registry/SimpleServiceRegistry.java?view=diff&r1=160648&r2=160649
==============================================================================
--- directory/network/trunk/src/java/org/apache/mina/registry/SimpleServiceRegistry.java (original)
+++ directory/network/trunk/src/java/org/apache/mina/registry/SimpleServiceRegistry.java Fri Apr  8 19:03:15 2005
@@ -159,7 +159,7 @@
         while( it.hasNext() )
         {
             Service s = ( Service ) it.next();
-            SocketAddress addr = ( SocketAddress ) s.getAddress();
+            SocketAddress addr = s.getAddress();
             int servicePort;
             
             if( addr instanceof InetSocketAddress )