refactor(test): for loop
This commit is contained in:
parent
5c248f26dc
commit
0ad795a8c4
1 changed files with 1 additions and 2 deletions
|
@ -48,8 +48,7 @@ public class DijkstraAlgorithmTest {
|
|||
public static void init() {
|
||||
try {
|
||||
// Create the map
|
||||
for (int j = 0 ; j < Maps.size() ; j++) {
|
||||
final String mapName = Maps.get(j);
|
||||
for (String mapName : Maps) {
|
||||
// Create a graph reader
|
||||
final GraphReader reader = new BinaryGraphReader(
|
||||
new DataInputStream(new BufferedInputStream(new FileInputStream(mapName))));
|
||||
|
|
Loading…
Reference in a new issue