diff --git a/checkstyle.xml b/checkstyle.xml index cb4ee5467..b65291b8f 100644 --- a/checkstyle.xml +++ b/checkstyle.xml @@ -140,7 +140,7 @@ - + diff --git a/src/main/java/com/thealgorithms/datastructures/graphs/BellmanFord.java b/src/main/java/com/thealgorithms/datastructures/graphs/BellmanFord.java index 522e19787..47c5f0d0b 100644 --- a/src/main/java/com/thealgorithms/datastructures/graphs/BellmanFord.java +++ b/src/main/java/com/thealgorithms/datastructures/graphs/BellmanFord.java @@ -57,9 +57,11 @@ class BellmanFord /* obj.go(); } - public void go() { // shows distance to all vertices // Interactive run for understanding the - try ( // class first time. Assumes source vertex is 0 and - Scanner sc = new Scanner(System.in)) { + public void go() { + // shows distance to all vertices + // Interactive run for understanding the + // class first time. Assumes source vertex is 0 and + try (Scanner sc = new Scanner(System.in)) { int i; int v; int e;