Skip to content

Commit 189fc11

Browse files
author
joeretro
committed
Removed isTrue/isFalse.
1 parent 79df593 commit 189fc11

File tree

1 file changed

+1
-17
lines changed

1 file changed

+1
-17
lines changed

src/library/org/hamcrest/core/IsEqual.java

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -67,21 +67,5 @@ private static boolean isArray(Object o) {
6767
public static <T> Matcher<T> equalTo(T operand) {
6868
return new IsEqual<T>(operand);
6969
}
70-
71-
/**
72-
* Is the value true?
73-
*/
74-
@Factory
75-
public static Matcher<Boolean> isTrue() {
76-
return equalTo(true);
77-
}
78-
79-
/**
80-
* Is the value false?
81-
*/
82-
@Factory
83-
public static Matcher<Boolean> isFalse() {
84-
return equalTo(false);
85-
}
86-
70+
8771
}

0 commit comments

Comments
 (0)