Skip to content

Commit bba97b9

Browse files
committed
Removed excess variable
1 parent 84c8fd5 commit bba97b9

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

hamcrest-library/src/main/java/org/hamcrest/collection/HasSubsequence.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,8 @@ private T nextItem() {
7676
}
7777

7878
private Matcher<? super T> nextMatcher() {
79-
final Matcher<? super T> matcher = remainingMatchers.next();
80-
currentMatcher = matcher;
81-
return matcher;
79+
currentMatcher = remainingMatchers.next();
80+
return currentMatcher;
8281
}
8382

8483
private void describeNotFound(Description mismatch) {

0 commit comments

Comments
 (0)