diff options
| author | Samuel Tardieu <sam@rfc1149.net> | 2013-01-01 17:06:39 +0100 |
|---|---|---|
| committer | Samuel Tardieu <sam@rfc1149.net> | 2013-01-01 17:06:39 +0100 |
| commit | 67f776a540e883a20baa88bc24a9fd5b0dcd6b40 (patch) | |
| tree | db7105b53862571f0a81adaadf992c48e6985724 /tests/src/cgeo/geocaching/connector/opencaching/OkapiClientTest.java | |
| parent | 047b1b12e452c04a32318053f1506b5eb65bfcc1 (diff) | |
| download | cgeo-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
