Skip to content

Commit

Permalink
Prevent possible null pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
chenson42 committed Jan 11, 2015
1 parent 485440e commit feb4cdd
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -1012,7 +1012,7 @@ public IGroupletService getGroupletService() {
private void removeMeFromMap(Map<String, ISymmetricEngine> map) {
Set<String> keys = new HashSet<String>(map.keySet());
for (String key : keys) {
if (map.get(key).equals(this)) {
if (this.equals(map.get(key))) {
map.remove(key);
}
}
Expand Down

0 comments on commit feb4cdd

Please sign in to comment.