Skip to content

Commit

Permalink
fix for #2 and #3
Browse files Browse the repository at this point in the history
  • Loading branch information
alexey-grigorev-sm committed Nov 25, 2016
1 parent f4d63f6 commit eaaeb3b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public boolean match(E object) {

ListIterator<E> currentIterator = context().getCurrentMatchIterator();

if (!delegateMatch(object)) {
if (!delegateMatch(object) || nextMatcher.match(object)) {
currentIterator.previous();
return true;
}
Expand Down

0 comments on commit eaaeb3b

Please sign in to comment.