diff options
author | Carsten Hammer | 2019-08-25 15:31:11 +0000 |
---|---|---|
committer | Karsten Thoms | 2019-09-16 20:44:52 +0000 |
commit | 7b357dc39d19cb9851ec59b4a5bb01d04a8beb66 (patch) | |
tree | 3bd7de518a1079c697345d7c21cbaa2fde16af95 /org.eclipse.debug.ui/ui | |
parent | 561c2e3370a519dfffc74b42d0353985e5022914 (diff) | |
download | eclipse.platform.debug-7b357dc39d19cb9851ec59b4a5bb01d04a8beb66.tar.gz eclipse.platform.debug-7b357dc39d19cb9851ec59b4a5bb01d04a8beb66.tar.xz eclipse.platform.debug-7b357dc39d19cb9851ec59b4a5bb01d04a8beb66.zip |
Remove unnecessary type specifications
Since Java 7 the diamond operator can be used instead of explicit
type parameters.
Version bumps for 4.14
Change-Id: I15a2ec4f20428b1fdecc6a7e11dae5e1966b21e6
Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de>
Diffstat (limited to 'org.eclipse.debug.ui/ui')
4 files changed, 4 insertions, 4 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/groups/CommonTabLite.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/groups/CommonTabLite.java index 6edb7a674..501b58e40 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/groups/CommonTabLite.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/groups/CommonTabLite.java @@ -304,7 +304,7 @@ class CommonTabLite extends AbstractLaunchConfigurationTab { fFavoritesTable.setInput(config); fFavoritesTable.setCheckedElements(new Object[]{}); try { - List<String> groups = config.getAttribute(IDebugUIConstants.ATTR_FAVORITE_GROUPS, new ArrayList<String>()); + List<String> groups = config.getAttribute(IDebugUIConstants.ATTR_FAVORITE_GROUPS, new ArrayList<>()); if (groups.isEmpty()) { // check old attributes for backwards compatible if (config.getAttribute(IDebugUIConstants.ATTR_DEBUG_FAVORITE, false)) { diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/model/elements/BreakpointManagerContentProvider.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/model/elements/BreakpointManagerContentProvider.java index eb106a6d9..5819b2685 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/model/elements/BreakpointManagerContentProvider.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/model/elements/BreakpointManagerContentProvider.java @@ -799,7 +799,7 @@ public class BreakpointManagerContentProvider extends ElementContentProvider /** * A map of input to info data cache */ - final private Map<DefaultBreakpointsViewInput, InputData> fInputToData = Collections.synchronizedMap(new InputDataMap<DefaultBreakpointsViewInput, InputData>()); + final private Map<DefaultBreakpointsViewInput, InputData> fInputToData = Collections.synchronizedMap(new InputDataMap<>()); /** * Flag indicating whether the content provider is currently a breakpoints listener. diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/model/elements/VariableContentProvider.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/model/elements/VariableContentProvider.java index cf873622b..31e705f0f 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/model/elements/VariableContentProvider.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/model/elements/VariableContentProvider.java @@ -112,7 +112,7 @@ public class VariableContentProvider extends ElementContentProvider { * @return logical value for the raw value */ protected IValue getLogicalValue(IValue value, IPresentationContext context) throws CoreException { - return getLogicalValue(value, new ArrayList<String>(), context); + return getLogicalValue(value, new ArrayList<>(), context); } /** diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/CommonTab.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/CommonTab.java index a90806917..4061ea1aa 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/CommonTab.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/CommonTab.java @@ -824,7 +824,7 @@ public class CommonTab extends AbstractLaunchConfigurationTab { fFavoritesTable.setInput(config); fFavoritesTable.setCheckedElements(new Object[]{}); try { - List<String> groups = config.getAttribute(IDebugUIConstants.ATTR_FAVORITE_GROUPS, new ArrayList<String>()); + List<String> groups = config.getAttribute(IDebugUIConstants.ATTR_FAVORITE_GROUPS, new ArrayList<>()); if (groups.isEmpty()) { // check old attributes for backwards compatible if (config.getAttribute(IDebugUIConstants.ATTR_DEBUG_FAVORITE, false)) { |