From f002dd790a78331f2258dfa405321715d0a4eb4f Mon Sep 17 00:00:00 2001 From: Alois Zoitl Date: Sun, 29 Sep 2024 21:03:11 +0200 Subject: [PATCH] Added types to AbstractEditPartViewer's Selection #155 Addresses: https://github.com/eclipse/gef-classic/issues/155 --- .../src/org/eclipse/gef/ui/parts/AbstractEditPartViewer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/org.eclipse.gef/src/org/eclipse/gef/ui/parts/AbstractEditPartViewer.java b/org.eclipse.gef/src/org/eclipse/gef/ui/parts/AbstractEditPartViewer.java index e056be416..7a14372fd 100644 --- a/org.eclipse.gef/src/org/eclipse/gef/ui/parts/AbstractEditPartViewer.java +++ b/org.eclipse.gef/src/org/eclipse/gef/ui/parts/AbstractEditPartViewer.java @@ -70,12 +70,12 @@ public abstract class AbstractEditPartViewer implements EditPartViewer { /** * The raw list of selected editparts. */ - protected final List selection = new ArrayList(); + protected final List selection = new ArrayList<>(); /** * The unmodifiable list of selected editparts. */ - protected final List constantSelection = Collections.unmodifiableList(selection); + protected final List constantSelection = Collections.unmodifiableList(selection); /** * The list of selection listeners.