mirror of
https://github.com/TheAlgorithms/Java.git
synced 2026-03-13 08:40:43 +08:00
Closing scanners.
This commit is contained in:
@@ -100,6 +100,7 @@ start vertex, end vertes and weights. Vertices should be labelled with a number
|
||||
System.out.println();
|
||||
}
|
||||
}
|
||||
sc.close();
|
||||
}
|
||||
/**
|
||||
* @param source Starting vertex
|
||||
|
||||
Reference in New Issue
Block a user