Skip to content

Commit 959e929

Browse files
authored
Merge branch 'master' into enable_AvoidNestedBlocks
2 parents 967cd8a + a2af09c commit 959e929

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

checkstyle.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@
140140
<!-- TODO <module name="NoWhitespaceAfter"/> -->
141141
<module name="NoWhitespaceBefore"/>
142142
<module name="OperatorWrap"/>
143-
<!-- TODO <module name="ParenPad"/> -->
143+
<module name="ParenPad"/>
144144
<module name="TypecastParenPad"/>
145145
<module name="WhitespaceAfter"/>
146146
<!-- TODO <module name="WhitespaceAround"/> -->

src/main/java/com/thealgorithms/datastructures/graphs/BellmanFord.java

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,11 @@ public static void main(String[] args) {
5757
obj.go();
5858
}
5959

60-
public void go() { // shows distance to all vertices // Interactive run for understanding the
61-
try ( // class first time. Assumes source vertex is 0 and
62-
Scanner sc = new Scanner(System.in)) {
60+
public void go() {
61+
// shows distance to all vertices
62+
// Interactive run for understanding the
63+
// class first time. Assumes source vertex is 0 and
64+
try (Scanner sc = new Scanner(System.in)) {
6365
int i;
6466
int v;
6567
int e;

0 commit comments

Comments
 (0)