Browse Source

Fix compile error that introduced when moved from Vector to ArrayList

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270405 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Donald 24 years ago
parent
commit
36091b14d3
2 changed files with 4 additions and 2 deletions
  1. +2
    -1
      proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/optional/NetRexxC.java
  2. +2
    -1
      proposal/myrmidon/src/todo/org/apache/tools/ant/taskdefs/optional/NetRexxC.java

+ 2
- 1
proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/optional/NetRexxC.java View File

@@ -606,12 +606,13 @@ public class NetRexxC extends MatchingTask
*/
private void copyFilesToDestination()
{
//FIXME: This should be zapped no ?
if( filecopyList.size() > 0 )
{
getLogger().info( "Copying " + filecopyList.size() + " file"
+ ( filecopyList.size() == 1 ? "" : "s" )
+ " to " + destDir.getAbsolutePath() );
Iterator enum = filecopyList.keys();
Iterator enum = filecopyList.keySet().iterator();
while( enum.hasNext() )
{
String fromFile = (String)enum.next();


+ 2
- 1
proposal/myrmidon/src/todo/org/apache/tools/ant/taskdefs/optional/NetRexxC.java View File

@@ -606,12 +606,13 @@ public class NetRexxC extends MatchingTask
*/
private void copyFilesToDestination()
{
//FIXME: This should be zapped no ?
if( filecopyList.size() > 0 )
{
getLogger().info( "Copying " + filecopyList.size() + " file"
+ ( filecopyList.size() == 1 ? "" : "s" )
+ " to " + destDir.getAbsolutePath() );
Iterator enum = filecopyList.keys();
Iterator enum = filecopyList.keySet().iterator();
while( enum.hasNext() )
{
String fromFile = (String)enum.next();


Loading…
Cancel
Save