diff options
author | syev <[email protected]> | 2014-10-02 12:02:13 +0200 |
---|---|---|
committer | syev <[email protected]> | 2014-10-02 12:02:13 +0200 |
commit | 4f6c9de9437aace12ca1c7c597bc0ec0c441476a (patch) | |
tree | 6f941c8374239b5da16621bb0c1dcb01c4eab792 | |
parent | 12649993a2638e8998ed848f6845fd2e0208b773 (diff) |
Fix return values from includes filters
The method returned false when an include filter matched, and true if none of the filters matched.
-rwxr-xr-x | api/src/main/java/org/semver/jardiff/DifferenceAccumulatingHandler.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/api/src/main/java/org/semver/jardiff/DifferenceAccumulatingHandler.java b/api/src/main/java/org/semver/jardiff/DifferenceAccumulatingHandler.java index d7d97e1..a2b8ae9 100755 --- a/api/src/main/java/org/semver/jardiff/DifferenceAccumulatingHandler.java +++ b/api/src/main/java/org/semver/jardiff/DifferenceAccumulatingHandler.java @@ -286,9 +286,10 @@ public final class DifferenceAccumulatingHandler extends AbstractDiffHandler { final Matcher includeMatcher = includePattern.matcher( fixedClassName ); while ( includeMatcher.find() ) { - return false; + return true; } } + return false; } return true; } |