diff --git a/checkstyle.xml b/checkstyle.xml index cb4ee54670ac..b65291b8ffa8 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 522e19787e8c..47c5f0d0b98e 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 @@ public static void main(String[] args) { 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;