Skip to content

Commit

Permalink
Minor correction to the EhCache impl
Browse files Browse the repository at this point in the history
  • Loading branch information
rnavagamuwa committed Mar 26, 2019
1 parent 564e342 commit 1563761
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ public Object get(Object key) {
@Override
public Object putIfAbsent(Object key, Object value) {

return this.cache.putIfAbsent(key, value);
this.cache.putIfAbsent(key, value);
return value;
}
}

0 comments on commit 1563761

Please sign in to comment.