Skip to content

Commit 605eb4f

Browse files
wli75shekhargulati
authored andcommitted
fixed containsAll (#76)
1 parent 61ca9fc commit 605eb4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/strman/Strman.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ public static boolean contains(final String value, final String needle, final bo
175175
*/
176176
public static boolean containsAll(final String value, final String[] needles) {
177177
validate(value, NULL_STRING_PREDICATE, NULL_STRING_MSG_SUPPLIER);
178-
return Arrays.stream(needles).allMatch(needle -> contains(value, needle, true));
178+
return Arrays.stream(needles).allMatch(needle -> contains(value, needle, false));
179179
}
180180

181181
/**

0 commit comments

Comments
 (0)