fixed the initNode-Part
This commit is contained in:
parent
c6e8b28b0f
commit
63661cc69d
@ -2,6 +2,7 @@ import java.io.BufferedReader;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStreamReader;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Random;
|
||||
import java.util.logging.LogManager;
|
||||
|
||||
@ -25,9 +26,7 @@ public class RandomGenerator {
|
||||
System.setProperty("java.util.logging.config.file",
|
||||
"logging.properties");
|
||||
|
||||
for (int i = 0; i < initNodeCount; i++) {
|
||||
nodes.add(new Node());
|
||||
}
|
||||
add(initNodeCount);
|
||||
|
||||
try {
|
||||
LogManager.getLogManager().readConfiguration();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user