Skip to content

Commit 316d3b4

Browse files
authored
fix: i forgot java sucks ass
1 parent 22aa141 commit 316d3b4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/castle/CastleUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public class CastleUtils {
4242

4343
public static boolean any(String[] array, String value) {
4444
for (var test : array)
45-
if (test == value)
45+
if (test.equals(value))
4646
return true;
4747
return false;
4848
}

0 commit comments

Comments
 (0)