directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r575344 - /directory/daemon/trunk/bootstrappers/src/main/java/org/apache/directory/daemon/AvailablePortFinder.java
Date Thu, 13 Sep 2007 16:04:40 GMT
Author: elecharny
Date: Thu Sep 13 09:04:40 2007
New Revision: 575344

URL: http://svn.apache.org/viewvc?rev=575344&view=rev
Log:
Removed warnings by using generics, cleaning the antlr .g files from useless imports, removed
useless casts.

Modified:
    directory/daemon/trunk/bootstrappers/src/main/java/org/apache/directory/daemon/AvailablePortFinder.java

Modified: directory/daemon/trunk/bootstrappers/src/main/java/org/apache/directory/daemon/AvailablePortFinder.java
URL: http://svn.apache.org/viewvc/directory/daemon/trunk/bootstrappers/src/main/java/org/apache/directory/daemon/AvailablePortFinder.java?rev=575344&r1=575343&r2=575344&view=diff
==============================================================================
--- directory/daemon/trunk/bootstrappers/src/main/java/org/apache/directory/daemon/AvailablePortFinder.java
(original)
+++ directory/daemon/trunk/bootstrappers/src/main/java/org/apache/directory/daemon/AvailablePortFinder.java
Thu Sep 13 09:04:40 2007
@@ -169,7 +169,7 @@
             throw new IllegalArgumentException( "Invalid port range: " + fromPort + " ~ "
+ toPort );
         }
 
-        Set result = new TreeSet();
+        Set<Integer> result = new TreeSet<Integer>();
 
         for ( int i = fromPort; i <= toPort; i++ )
         {



Mime
View raw message