Skip to content

Commit 35b1e61

Browse files
committed
fix(toggle): privatisation of stringEquals
1 parent e8c14f7 commit 35b1e61

File tree

1 file changed

+1
-1
lines changed
  • engine/modules/toggle/src/main/java/com/codingame/gameengine/module/toggle

1 file changed

+1
-1
lines changed

engine/modules/toggle/src/main/java/com/codingame/gameengine/module/toggle/ToggleModule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public boolean equals(Toggle other) {
3737
return other != null && this.state == other.state && stringEquals(this.name, other.name);
3838
}
3939

40-
boolean stringEquals(String a, String b) {
40+
private boolean stringEquals(String a, String b) {
4141
if (a == b) {
4242
return true;
4343
} else if (a != null && a.equals(b)) {

0 commit comments

Comments
 (0)