Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Vogel2017-09-08 14:15:39 +0000
committerLars Vogel2017-09-08 14:18:07 +0000
commit9ac2bb6a6e06deb4c19f0eae5947a8ab3629e6b7 (patch)
tree8009b62780744fa6bcf045a259cdc8c6d2d8fa3d /org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/SourceLookupFacility.java
parent991aae18477c3d006719edbccb574932090d9ac6 (diff)
downloadeclipse.platform.debug-9ac2bb6a6e06deb4c19f0eae5947a8ab3629e6b7.tar.gz
eclipse.platform.debug-9ac2bb6a6e06deb4c19f0eae5947a8ab3629e6b7.tar.xz
eclipse.platform.debug-9ac2bb6a6e06deb4c19f0eae5947a8ab3629e6b7.zip
org.eclipse.debug.ui Change-Id: Iaa1506dffb86445b0bec008c1a595f90b8a02148 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
Diffstat (limited to 'org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/SourceLookupFacility.java')
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/SourceLookupFacility.java4
1 files changed, 2 insertions, 2 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 20ed4bbf0..da64c41f2 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
@@ -96,7 +96,7 @@ public class SourceLookupFacility implements IPageListener, IPartListener2, IPro
*/
LRU(int size) {
fSize = size;
- fEntryStack = new ArrayList<Object>();
+ fEntryStack = new ArrayList<>();
}
/*
@@ -201,7 +201,7 @@ public class SourceLookupFacility implements IPageListener, IPartListener2, IPro
* Constructs a source lookup facility.
*/
private SourceLookupFacility() {
- fEditorsByPage = new HashMap<IWorkbenchPage, IEditorPart>();
+ fEditorsByPage = new HashMap<>();
DebugUIPlugin.getDefault().getPreferenceStore().addPropertyChangeListener(this);
DebugPlugin.getDefault().addDebugEventListener(this);
}

Back to the top