ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From k...@apache.org
Subject svn commit: r379303 - /ant/core/trunk/proposal/embed/src/java/org/apache/tools/ant/taskdefs/optional/TaskDiscovery.java
Date Tue, 21 Feb 2006 01:09:55 GMT
Author: kevj
Date: Mon Feb 20 17:09:54 2006
New Revision: 379303

URL: http://svn.apache.org/viewcvs?rev=379303&view=rev
Log:
fix gump build - I assume that gump has switched JDK version recently to make this break

Modified:
    ant/core/trunk/proposal/embed/src/java/org/apache/tools/ant/taskdefs/optional/TaskDiscovery.java

Modified: ant/core/trunk/proposal/embed/src/java/org/apache/tools/ant/taskdefs/optional/TaskDiscovery.java
URL: http://svn.apache.org/viewcvs/ant/core/trunk/proposal/embed/src/java/org/apache/tools/ant/taskdefs/optional/TaskDiscovery.java?rev=379303&r1=379302&r2=379303&view=diff
==============================================================================
--- ant/core/trunk/proposal/embed/src/java/org/apache/tools/ant/taskdefs/optional/TaskDiscovery.java
(original)
+++ ant/core/trunk/proposal/embed/src/java/org/apache/tools/ant/taskdefs/optional/TaskDiscovery.java
Mon Feb 20 17:09:54 2006
@@ -3,7 +3,7 @@
  *
  * The Apache Software License, Version 1.1
  *
- * Copyright (c) 1999-2002 The Apache Software Foundation.  All rights
+ * Copyright (c) 1999-2002, 2006 The Apache Software Foundation.  All rights
  * reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -124,11 +124,11 @@
         disc.addClassLoader( JDKHooks.getJDKHooks().getThreadContextClassLoader() );
         disc.addClassLoader( this.getClass().getClassLoader() );
         
-        ResourceIterator enum = disc.findResources(RESOURCE_NAME);
+        ResourceIterator ri = disc.findResources(RESOURCE_NAME);
         
         Vector vector = new Vector();
-        while (enum.hasNext()) {
-            Resource resourceInfo = enum.nextResource();
+        while (ri.hasNext()) {
+            Resource resourceInfo = ri.nextResource();
             vector.add(resourceInfo);
             System.out.println("Found " + resourceInfo);
 



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message