summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit/.settings/org.eclipse.jdt.ui.prefs
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2011-01-27 17:20:36 -0800
committerShawn O. Pearce <spearce@spearce.org>2011-01-28 08:17:20 -0800
commit17dc6bdafd6399a94f2b64357ea48873f6b71b2a (patch)
treed89881985cf07d28a100851c8fb12bbbe0bf4227 /org.eclipse.jgit/.settings/org.eclipse.jdt.ui.prefs
parent0b2ac1e929292d385855dba26e753d09a9e14255 (diff)
downloadjgit-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