directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From trus...@apache.org
Subject svn commit: r160649 - directory/network/trunk/src/java/org/apache/mina/registry/SimpleServiceRegistry.java
Date Sat, 09 Apr 2005 02:03:16 GMT
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 )



Mime
View raw message