Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/dsf
diff options
context:
space:
mode:
authorJonah Graham2018-11-20 16:20:42 +0000
committerJonah Graham2018-11-22 21:53:35 +0000
commit8844a8f9f22802fedffa3cb2a8a21b041aa64b74 (patch)
tree311bce2a3fbe500e879b44c270b0d2ee24fe01af /dsf
parent8985c7b63f04ad139e8b93160798e642d2addc55 (diff)
downloadorg.eclipse.cdt-8844a8f9f22802fedffa3cb2a8a21b041aa64b74.tar.gz
org.eclipse.cdt-8844a8f9f22802fedffa3cb2a8a21b041aa64b74.tar.xz
org.eclipse.cdt-8844a8f9f22802fedffa3cb2a8a21b041aa64b74.zip
Bug 540373: Cleanup: Remove unnecessary casts
This was done by selecting all projects in Eclipse then Source -> Clean Up... -> choosing: - Remove unnecessary casts and completing the wizard Change-Id: I287d4066b12fc19d7f73a016e11c9405abb4ceb9
Diffstat (limited to 'dsf')
-rw-r--r--dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/breakpoints/BreakpointVMProvider.java2
-rw-r--r--dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/ui/concurrent/DisplayDsfExecutor.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/breakpoints/BreakpointVMProvider.java b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/breakpoints/BreakpointVMProvider.java
index b1ffa773682..eca21d6b625 100644
--- a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/breakpoints/BreakpointVMProvider.java
+++ b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/breakpoints/BreakpointVMProvider.java
@@ -138,7 +138,7 @@ public class BreakpointVMProvider extends AbstractVMProvider {
if (independentCategories != null) {
for (IAdaptable category : independentCategories) {
if (!bpsLists.containsKey(category)) {
- bpsLists.put(category, (List<IBreakpoint>) Collections.EMPTY_LIST);
+ bpsLists.put(category, Collections.EMPTY_LIST);
}
}
}
diff --git a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/ui/concurrent/DisplayDsfExecutor.java b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/ui/concurrent/DisplayDsfExecutor.java
index 8b308a9445e..33ce2e84d85 100644
--- a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/ui/concurrent/DisplayDsfExecutor.java
+++ b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/ui/concurrent/DisplayDsfExecutor.java
@@ -278,6 +278,6 @@ public class DisplayDsfExecutor extends DefaultDsfExecutor {
@SuppressWarnings({ "cast", "unchecked" })
@Override
public List<Runnable> shutdownNow() {
- return (List<Runnable>) Collections.EMPTY_LIST;
+ return Collections.EMPTY_LIST;
}
}

Back to the top