fixed init nodes
This commit is contained in:
parent
6426a6ccfb
commit
38a6313e08
@ -3,7 +3,7 @@ package graph;
|
||||
import java.util.ArrayList;
|
||||
|
||||
public class Graph {
|
||||
private ArrayList<Node> nodes;
|
||||
private ArrayList<Node> nodes = new ArrayList<>();
|
||||
|
||||
public ArrayList<Node> getNodes() {
|
||||
return nodes;
|
||||
|
Loading…
Reference in New Issue
Block a user