git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270405 13f79535-47bb-0310-9956-ffa450edef68master
| @@ -606,12 +606,13 @@ public class NetRexxC extends MatchingTask | |||||
| */ | */ | ||||
| private void copyFilesToDestination() | private void copyFilesToDestination() | ||||
| { | { | ||||
| //FIXME: This should be zapped no ? | |||||
| if( filecopyList.size() > 0 ) | if( filecopyList.size() > 0 ) | ||||
| { | { | ||||
| getLogger().info( "Copying " + filecopyList.size() + " file" | getLogger().info( "Copying " + filecopyList.size() + " file" | ||||
| + ( filecopyList.size() == 1 ? "" : "s" ) | + ( filecopyList.size() == 1 ? "" : "s" ) | ||||
| + " to " + destDir.getAbsolutePath() ); | + " to " + destDir.getAbsolutePath() ); | ||||
| Iterator enum = filecopyList.keys(); | |||||
| Iterator enum = filecopyList.keySet().iterator(); | |||||
| while( enum.hasNext() ) | while( enum.hasNext() ) | ||||
| { | { | ||||
| String fromFile = (String)enum.next(); | String fromFile = (String)enum.next(); | ||||
| @@ -606,12 +606,13 @@ public class NetRexxC extends MatchingTask | |||||
| */ | */ | ||||
| private void copyFilesToDestination() | private void copyFilesToDestination() | ||||
| { | { | ||||
| //FIXME: This should be zapped no ? | |||||
| if( filecopyList.size() > 0 ) | if( filecopyList.size() > 0 ) | ||||
| { | { | ||||
| getLogger().info( "Copying " + filecopyList.size() + " file" | getLogger().info( "Copying " + filecopyList.size() + " file" | ||||
| + ( filecopyList.size() == 1 ? "" : "s" ) | + ( filecopyList.size() == 1 ? "" : "s" ) | ||||
| + " to " + destDir.getAbsolutePath() ); | + " to " + destDir.getAbsolutePath() ); | ||||
| Iterator enum = filecopyList.keys(); | |||||
| Iterator enum = filecopyList.keySet().iterator(); | |||||
| while( enum.hasNext() ) | while( enum.hasNext() ) | ||||
| { | { | ||||
| String fromFile = (String)enum.next(); | String fromFile = (String)enum.next(); | ||||