Repository: ant
Updated Branches:
  refs/heads/master a4099af87 -> c0acd0f89


use isReverse method rather than reading flag directly


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

Branch: refs/heads/master
Commit: b822486d0261b3f229bd4aa33b1b31217c144aff
Parents: a4099af
Author: Stefan Bodewig <bode...@apache.org>
Authored: Mon Apr 9 09:02:40 2018 +0200
Committer: Stefan Bodewig <bode...@apache.org>
Committed: Mon Apr 9 09:02:40 2018 +0200

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


http://git-wip-us.apache.org/repos/asf/ant/blob/b822486d/src/main/org/apache/tools/ant/filters/SortFilter.java
----------------------------------------------------------------------
diff --git a/src/main/org/apache/tools/ant/filters/SortFilter.java 
b/src/main/org/apache/tools/ant/filters/SortFilter.java
index 60e0e93..ebe0835 100644
--- a/src/main/org/apache/tools/ant/filters/SortFilter.java
+++ b/src/main/org/apache/tools/ant/filters/SortFilter.java
@@ -350,7 +350,7 @@ public final class SortFilter extends BaseParamFilterReader
      */
     private void sort() {
         if (comparator == null) {
-            if (reverse) {
+            if (isReverse()) {
                 lines.sort((s1, s2) -> {
                     return -s1.compareTo(s2); //NOSONAR
                 });

Reply via email to