diff options
author | Andrey Loskutov | 2016-08-25 14:55:41 +0000 |
---|---|---|
committer | Andrey Loskutov | 2016-08-25 14:55:41 +0000 |
commit | ba0abc228cde4836afb6bc6fc4baf8259973e762 (patch) | |
tree | 425421aaba53b162dfbf13fdfbe4e24187b8c2ab /org.eclipse.debug.ui | |
parent | 60e34dbeeeb3d5c8a2fe7f2e81a93bcdbd2b7b00 (diff) | |
download | eclipse.platform.debug-ba0abc228cde4836afb6bc6fc4baf8259973e762.tar.gz eclipse.platform.debug-ba0abc228cde4836afb6bc6fc4baf8259973e762.tar.xz eclipse.platform.debug-ba0abc228cde4836afb6bc6fc4baf8259973e762.zip |
Bug 500273 - Removing elements from source lookup cache not workingY20160908-1000Y20160901-1000I20160906-0800I20160830-0800
properly
Applied patch from Alexander Schwarz and added test for the LRU cache.
Change-Id: I145af345d019a7f1414e7b97d1802891948ccf91
Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
Diffstat (limited to 'org.eclipse.debug.ui')
-rw-r--r-- | org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/SourceLookupFacility.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/SourceLookupFacility.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/SourceLookupFacility.java index 6c3f986bc..01b402f9e 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/SourceLookupFacility.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/SourceLookupFacility.java @@ -116,7 +116,7 @@ public class SourceLookupFacility implements IPageListener, IPartListener2, IPro @Override public SourceLookupResult remove(Object key) { SourceLookupResult oldResult = super.remove(key); - fEntryStack.remove(oldResult); + fEntryStack.remove(key); return oldResult; } |