File tree Expand file tree Collapse file tree 1 file changed +0
-19
lines changed
hamcrest-core/src/main/java/org/hamcrest/core Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change 4
4
5
5
import org .hamcrest .BaseMatcher ;
6
6
import org .hamcrest .Description ;
7
- import org .hamcrest .Matcher ;
8
7
9
8
10
9
/**
@@ -31,22 +30,4 @@ public boolean matches(Object o) {
31
30
public void describeTo (Description description ) {
32
31
description .appendText (message );
33
32
}
34
-
35
- /**
36
- * Creates a matcher that always matches, regardless of the examined object.
37
- */
38
- public static Matcher <Object > anything () {
39
- return new IsAnything <>();
40
- }
41
-
42
- /**
43
- * Creates a matcher that always matches, regardless of the examined object, but describes
44
- * itself with the specified {@link String}.
45
- *
46
- * @param description
47
- * a meaningful {@link String} used when describing itself
48
- */
49
- public static Matcher <Object > anything (String description ) {
50
- return new IsAnything <>(description );
51
- }
52
33
}
You can’t perform that action at this time.
0 commit comments