From 42810a6cb5943af20f557297aa74e61f48ac3a7b Mon Sep 17 00:00:00 2001 From: Stefan Bodewig Date: Thu, 5 Apr 2018 09:13:11 +0200 Subject: [PATCH] bring back comment --- .../org/apache/tools/ant/types/selectors/SelectorUtils.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/org/apache/tools/ant/types/selectors/SelectorUtils.java b/src/main/org/apache/tools/ant/types/selectors/SelectorUtils.java index 0bbc67b06..f8aba1d00 100644 --- a/src/main/org/apache/tools/ant/types/selectors/SelectorUtils.java +++ b/src/main/org/apache/tools/ant/types/selectors/SelectorUtils.java @@ -154,6 +154,8 @@ public final class SelectorUtils { } // Fail if string is not exhausted or pattern is exhausted + // Otherwise the pattern now holds ** while string is not exhausted + // this will generate false positives but we can live with that. return strIdxStart > strIdxEnd || patIdxStart <= patIdxEnd; }