File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
src/main/java/com/thealgorithms/datastructures/graphs Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 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"/> -->
Original file line number Diff line number Diff 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 ;
You can’t perform that action at this time.
0 commit comments