You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bo...@apache.org on 2018/05/20 17:48:49 UTC

ant git commit: order got reversed by 1142263

Repository: ant
Updated Branches:
  refs/heads/master d345133b6 -> 129c8a1b7


order got reversed by 1142263


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

Branch: refs/heads/master
Commit: 129c8a1b70ec1927daac1e1329e7868eb4a2d9e9
Parents: d345133
Author: Stefan Bodewig <bo...@apache.org>
Authored: Sun May 20 19:48:09 2018 +0200
Committer: Stefan Bodewig <bo...@apache.org>
Committed: Sun May 20 19:48:09 2018 +0200

----------------------------------------------------------------------
 src/main/org/apache/tools/ant/taskdefs/DependSet.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ant/blob/129c8a1b/src/main/org/apache/tools/ant/taskdefs/DependSet.java
----------------------------------------------------------------------
diff --git a/src/main/org/apache/tools/ant/taskdefs/DependSet.java b/src/main/org/apache/tools/ant/taskdefs/DependSet.java
index 721dbfb..49409df 100644
--- a/src/main/org/apache/tools/ant/taskdefs/DependSet.java
+++ b/src/main/org/apache/tools/ant/taskdefs/DependSet.java
@@ -264,7 +264,7 @@ public class DependSet extends MatchingTask {
     }
 
     private Resource getXest(ResourceCollection rc, ResourceComparator c) {
-        return StreamUtils.iteratorAsStream(rc.iterator()).min(c).orElse(null);
+        return StreamUtils.iteratorAsStream(rc.iterator()).max(c).orElse(null);
     }
 
     private Resource getOldest(ResourceCollection rc) {