Skip to content

Commit f809a87

Browse files
committed
Format code
1 parent b31361c commit f809a87

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/java/FloydWarshall.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,11 @@ public class FloydWarshall {
1010
public static void showMatrix(long[][] matriz, int nroVertices) {
1111
for (int i = 0; i < nroVertices; i++) {
1212
for (int j = 0; j < nroVertices; j++) {
13-
if (matriz[i][j] < 10)
13+
if (matriz[i][j] < 10) {
1414
System.out.print(" " + matriz[i][j] + " ");
15-
else
15+
} else {
1616
System.out.print(matriz[i][j] + " ");
17+
}
1718
}
1819
System.out.println();
1920
}

0 commit comments

Comments
 (0)