aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/cgeo/geocaching/connector/opencaching/OkapiClientTest.java
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2013-01-01 17:06:39 +0100
committerSamuel Tardieu <sam@rfc1149.net>2013-01-01 17:06:39 +0100
commit67f776a540e883a20baa88bc24a9fd5b0dcd6b40 (patch)
treedb7105b53862571f0a81adaadf992c48e6985724 /tests/src/cgeo/geocaching/connector/opencaching/OkapiClientTest.java
parent047b1b12e452c04a32318053f1506b5eb65bfcc1 (diff)
downloadcgeo-67f776a540e883a20baa88bc24a9fd5b0dcd6b40.zip
cgeo-67f776a540e883a20baa88bc24a9fd5b0dcd6b40.tar.gz
cgeo-67f776a540e883a20baa88bc24a9fd5b0dcd6b40.tar.bz2
fix #2316: race condition in LeastRecentlyUsedSet
removeAll() must be synchronized as well. Otherwise, the documentation states that it uses a (unsynchronized) iterator to perform the removal, which causes race conditions.
Diffstat (limited to 'tests/src/cgeo/geocaching/connector/opencaching/OkapiClientTest.java')
0 files changed, 0 insertions, 0 deletions