commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1088122 - /commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/jdk/JDK11Hooks.java
Date Sat, 02 Apr 2011 21:14:44 GMT
Author: simonetripodi
Date: Sat Apr  2 21:14:44 2011
New Revision: 1088122

URL: http://svn.apache.org/viewvc?rev=1088122&view=rev
Log:
removed useless cast

Modified:
    commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/jdk/JDK11Hooks.java

Modified: commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/jdk/JDK11Hooks.java
URL: http://svn.apache.org/viewvc/commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/jdk/JDK11Hooks.java?rev=1088122&r1=1088121&r2=1088122&view=diff
==============================================================================
--- commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/jdk/JDK11Hooks.java
(original)
+++ commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/jdk/JDK11Hooks.java
Sat Apr  2 21:14:44 2011
@@ -133,7 +133,7 @@ public class JDK11Hooks extends JDKHooks
                      */
                     n = null;
                     while (rest.hasMoreElements()  &&  n == null) {
-                        n = (URL)rest.nextElement();
+                        n = rest.nextElement();
                         if (first != null &&
                             n != null &&
                             n.equals(first))



Mime
View raw message