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/08/12 15:19:21 UTC
[3/4] ant git commit: potential NPE
potential NPE
Project: http://git-wip-us.apache.org/repos/asf/ant/repo
Commit: http://git-wip-us.apache.org/repos/asf/ant/commit/0949736b
Tree: http://git-wip-us.apache.org/repos/asf/ant/tree/0949736b
Diff: http://git-wip-us.apache.org/repos/asf/ant/diff/0949736b
Branch: refs/heads/master
Commit: 0949736bd21582723ba0b5fc3e374d0c76057b7d
Parents: ecae55d
Author: Stefan Bodewig <bo...@apache.org>
Authored: Sun Aug 12 17:18:31 2018 +0200
Committer: Stefan Bodewig <bo...@apache.org>
Committed: Sun Aug 12 17:18:31 2018 +0200
----------------------------------------------------------------------
src/main/org/apache/tools/ant/types/resources/Files.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ant/blob/0949736b/src/main/org/apache/tools/ant/types/resources/Files.java
----------------------------------------------------------------------
diff --git a/src/main/org/apache/tools/ant/types/resources/Files.java b/src/main/org/apache/tools/ant/types/resources/Files.java
index a66b8ad..b341291 100644
--- a/src/main/org/apache/tools/ant/types/resources/Files.java
+++ b/src/main/org/apache/tools/ant/types/resources/Files.java
@@ -497,7 +497,7 @@ public class Files extends AbstractSelectorContainer
String[] includePatterns = ps.getIncludePatterns(getProject());
String[] excludePatterns = ps.getExcludePatterns(getProject());
return (includePatterns != null && includePatterns.length > 0)
- || (includePatterns != null && excludePatterns.length > 0);
+ || (excludePatterns != null && excludePatterns.length > 0);
}
}