mirror of
https://github.com/ChronosX88/JGUN.git
synced 2024-12-22 02:41:45 +00:00
Replaced getOrDefault() to get() in InMemoryGraph
This commit is contained in:
parent
63667b50db
commit
e5907676e6
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user