Replaced getOrDefault() to get() in InMemoryGraph

This commit is contained in:
ChronosX88 2019-05-10 19:10:39 +04:00
parent 63667b50db
commit e5907676e6

View File

@ -21,7 +21,7 @@ public class InMemoryGraph implements StorageBackend {
}
public Node getNode(String soul) {
return nodes.getOrDefault(soul, null);
return nodes.get(soul);
}
public void addNode(String soul, Node incomingNode) {