mirror of
https://github.com/ChronosX88/JGUN.git
synced 2024-11-09 08:41:01 +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) {
|
public Node getNode(String soul) {
|
||||||
return nodes.getOrDefault(soul, null);
|
return nodes.get(soul);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void addNode(String soul, Node incomingNode) {
|
public void addNode(String soul, Node incomingNode) {
|
||||||
|
Loading…
Reference in New Issue
Block a user