Skip to content

Commit 5225cf4

Browse files
committed
Fix Checkstyle violations: correct indentation
1 parent d63cedd commit 5225cf4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/thealgorithms/strings/KnuthMorrisPratt.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public static int[] computeLps(final String pattern) {
2626
final int[] lps = new int[n];
2727
int len = 0;
2828
lps[0] = 0;
29-
for (int i = 1; i < n; ) {
29+
for (int i = 1; i < n;) {
3030
if (pattern.charAt(i) == pattern.charAt(len)) {
3131
len++;
3232
lps[i] = len;

0 commit comments

Comments
 (0)