Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/launch/DecorationManager.java')
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/launch/DecorationManager.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/launch/DecorationManager.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/launch/DecorationManager.java
index e3fac7213..0c108e89e 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/launch/DecorationManager.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/launch/DecorationManager.java
@@ -26,7 +26,7 @@ import org.eclipse.debug.core.model.IThread;
public class DecorationManager {
// map of targets to lists of active decorations
- private static Map<IDebugTarget, List<Decoration>> fDecorations = new HashMap<IDebugTarget, List<Decoration>>(10);
+ private static Map<IDebugTarget, List<Decoration>> fDecorations = new HashMap<>(10);
/**
* Adds the given decoration for the given stack frame.
@@ -39,7 +39,7 @@ public class DecorationManager {
IDebugTarget target = decoration.getThread().getDebugTarget();
List<Decoration> list = fDecorations.get(target);
if (list == null) {
- list = new ArrayList<Decoration>();
+ list = new ArrayList<>();
fDecorations.put(target, list);
}
list.add(decoration);
@@ -65,7 +65,7 @@ public class DecorationManager {
}
private static void doRemoveDecorations(IDebugTarget target, IThread thread) {
- ArrayList<Decoration> decorationsToRemove = new ArrayList<Decoration>();
+ ArrayList<Decoration> decorationsToRemove = new ArrayList<>();
synchronized (fDecorations) {
List<Decoration> list = fDecorations.get(target);
if (list != null) {

Back to the top