Skip to content

Commit f094f85

Browse files
fix build
1 parent f6d17b9 commit f094f85

File tree

1 file changed

+1
-1
lines changed
  • src/main/java/com/fishercoder/solutions

1 file changed

+1
-1
lines changed

src/main/java/com/fishercoder/solutions/_925.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public boolean isLongPressedName(String name, String typed) {
4343
for (int j = 0; i < name.length() && j < typed.length(); i++) {
4444
if (name.charAt(i) != typed.charAt(j)) {
4545
return false;
46-
} else if (i < name.length() - 1 && name.charAt(i) != name.charAt(i+1)) {
46+
} else if (i < name.length() - 1 && name.charAt(i) != name.charAt(i + 1)) {
4747
j++;
4848
while (j < typed.length() && name.charAt(i) == typed.charAt(j)) {
4949
j++;

0 commit comments

Comments
 (0)