We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4380f7 commit c5676bcCopy full SHA for c5676bc
kala-base/src/main/java/kala/function/Predicates.java
@@ -72,7 +72,7 @@ public static <T> Predicate<T> of(Predicate<? extends T> predicate) {
72
73
public static <T> @NotNull Predicate<T> isInstance(@NotNull Class<? extends T> type) {
74
Objects.requireNonNull(type);
75
- return type == Object.class ? isNotNull() : new IsInstance<>(type);
+ return new IsInstance<>(type);
76
}
77
78
@SafeVarargs
0 commit comments