Skip to content

Commit 5eb37f3

Browse files
committed
Cleanups (templating etc) for Java 7
1 parent 7636f29 commit 5eb37f3

File tree

3 files changed

+117
-94
lines changed

3 files changed

+117
-94
lines changed

hamcrest-core/src/test/java/org/hamcrest/core/CombinableTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
import static org.hamcrest.core.IsNull.notNullValue;
1010

1111
public final class CombinableTest {
12-
private static final CombinableMatcher<Integer> EITHER_3_OR_4 = CombinableMatcher.<Integer>either(equalTo(3)).or(equalTo(4));
13-
private static final CombinableMatcher<Integer> NOT_3_AND_NOT_4 = CombinableMatcher.<Integer>both(not(equalTo(3))).and(not(equalTo(4)));
12+
private static final CombinableMatcher<Integer> EITHER_3_OR_4 = CombinableMatcher.either(equalTo(3)).or(equalTo(4));
13+
private static final CombinableMatcher<Integer> NOT_3_AND_NOT_4 = CombinableMatcher.both(not(equalTo(3))).and(not(equalTo(4)));
1414

1515
@Test public void
1616
copesWithNullsAndUnknownTypes() {

0 commit comments

Comments
 (0)