Skip to content

Commit bf74f4f

Browse files
committed
Fixed Checkstyle issue by adding braces to for loop
1 parent d62fe55 commit bf74f4f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main/java/com/thealgorithms/others/MaximumSlidingWindow.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ public static void main(String[] args) {
6262
int[] result = msw.maxSlidingWindow(nums, k);
6363

6464
// Print the result
65-
for (int num : result) System.out.print(num + " ");
65+
for (int num : result) {
66+
System.out.print(num + " ");
67+
}
6668
}
6769
}

0 commit comments

Comments
 (0)