diff options
author | Shawn O. Pearce <spearce@spearce.org> | 2011-01-27 17:20:36 -0800 |
---|---|---|
committer | Shawn O. Pearce <spearce@spearce.org> | 2011-01-28 08:17:20 -0800 |
commit | 17dc6bdafd6399a94f2b64357ea48873f6b71b2a (patch) | |
tree | d89881985cf07d28a100851c8fb12bbbe0bf4227 /org.eclipse.jgit/.settings/org.eclipse.jdt.ui.prefs | |
parent | 0b2ac1e929292d385855dba26e753d09a9e14255 (diff) | |
download | jgit-17dc6bdafd6399a94f2b64357ea48873f6b71b2a.tar.gz jgit-17dc6bdafd6399a94f2b64357ea48873f6b71b2a.zip |
ObjectIdSubclassMap: Support duplicate additions
The new addIfAbsent() method combines get() with add(), but does
it in a single step so that the common case of get() returning null
for a new object can immediately insert the object into the map.
Change-Id: Ib599ab4de13ad67665ccfccf3ece52ba3222bcba
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'org.eclipse.jgit/.settings/org.eclipse.jdt.ui.prefs')
0 files changed, 0 insertions, 0 deletions