Skip to content

Commit 0f723f9

Browse files
committed
Fix Checkstyle: split variable declarations
1 parent 16e48b7 commit 0f723f9

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/main/java/com/thealgorithms/matrix/SpiralMatrixII.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,11 @@ public int[][] generateMatrix(int n) {
1313

1414
int[][] matrix = new int[n][n];
1515

16-
int top = 0, bottom = n - 1;
17-
int left = 0, right = n - 1;
16+
int top = 0;
17+
int bottom = n - 1;
18+
19+
int left = 0;
20+
int right = n - 1;
1821

1922
int num = 1;
2023

0 commit comments

Comments
 (0)