ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject [6/6] ant git commit: make code actually compile
Date Fri, 13 Oct 2017 06:49:25 GMT
make code actually compile


Project: http://git-wip-us.apache.org/repos/asf/ant/repo
Commit: http://git-wip-us.apache.org/repos/asf/ant/commit/61811c2b
Tree: http://git-wip-us.apache.org/repos/asf/ant/tree/61811c2b
Diff: http://git-wip-us.apache.org/repos/asf/ant/diff/61811c2b

Branch: refs/heads/master
Commit: 61811c2bc4ca2788b6bbb662dbc34a159d23497f
Parents: a4aec92
Author: Stefan Bodewig <bodewig@apache.org>
Authored: Fri Oct 13 08:48:57 2017 +0200
Committer: Stefan Bodewig <bodewig@apache.org>
Committed: Fri Oct 13 08:48:57 2017 +0200

----------------------------------------------------------------------
 src/main/org/apache/tools/ant/taskdefs/Move.java                | 5 +++--
 .../tools/ant/taskdefs/optional/ejb/GenericDeploymentTool.java  | 1 +
 2 files changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ant/blob/61811c2b/src/main/org/apache/tools/ant/taskdefs/Move.java
----------------------------------------------------------------------
diff --git a/src/main/org/apache/tools/ant/taskdefs/Move.java b/src/main/org/apache/tools/ant/taskdefs/Move.java
index 37ef1c7..d43befd 100644
--- a/src/main/org/apache/tools/ant/taskdefs/Move.java
+++ b/src/main/org/apache/tools/ant/taskdefs/Move.java
@@ -19,6 +19,7 @@ package org.apache.tools.ant.taskdefs;
 
 import java.io.File;
 import java.io.IOException;
+import java.util.Map;
 
 import org.apache.tools.ant.BuildException;
 import org.apache.tools.ant.DirectoryScanner;
@@ -134,7 +135,7 @@ public class Move extends Copy {
             log("Moving " + moveCount + " file" + ((moveCount == 1) ? "" : "s")
                     + " to " + destDir.getAbsolutePath());
 
-            for (Map.Entry<String, String[]> entry : fileCopyMap.entrySet) {
+            for (Map.Entry<String, String[]> entry : fileCopyMap.entrySet()) {
                 String fromFile = entry.getKey();
                 File f = new File(fromFile);
                 boolean selfMove = false;
@@ -166,7 +167,7 @@ public class Move extends Copy {
 
         if (includeEmpty) {
             int createCount = 0;
-            for (Map<String, String[]> entry : dirCopyMap.entrySet()) {
+            for (Map.Entry<String, String[]> entry : dirCopyMap.entrySet()) {
                 String fromDirName = entry.getKey();
                 String[] toDirNames = entry.getValue();;
                 boolean selfMove = false;

http://git-wip-us.apache.org/repos/asf/ant/blob/61811c2b/src/main/org/apache/tools/ant/taskdefs/optional/ejb/GenericDeploymentTool.java
----------------------------------------------------------------------
diff --git a/src/main/org/apache/tools/ant/taskdefs/optional/ejb/GenericDeploymentTool.java
b/src/main/org/apache/tools/ant/taskdefs/optional/ejb/GenericDeploymentTool.java
index 7324bdc..d25e3c3 100644
--- a/src/main/org/apache/tools/ant/taskdefs/optional/ejb/GenericDeploymentTool.java
+++ b/src/main/org/apache/tools/ant/taskdefs/optional/ejb/GenericDeploymentTool.java
@@ -24,6 +24,7 @@ import java.nio.file.Files;
 import java.util.Enumeration;
 import java.util.HashSet;
 import java.util.Hashtable;
+import java.util.Map;
 import java.util.Set;
 import java.util.jar.JarOutputStream;
 import java.util.jar.Manifest;


Mime
View raw message