Skip to content

Commit

Permalink
Add missing synchronized
Browse files Browse the repository at this point in the history
  • Loading branch information
copierrj committed Nov 13, 2020
1 parent 1e60957 commit af92cbe
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public synchronized <T extends Resource> ResourceNode<T> insertNode( ResourceMet
return node;
}

public <T extends Resource> void removeNode (ResourceIdentifier<T> id) {
public synchronized <T extends Resource> void removeNode (ResourceIdentifier<T> id) {
nodeMap.remove( id );
updateDependencies();
}
Expand Down

0 comments on commit af92cbe

Please sign in to comment.