Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2015-12-14 09:06:00 +0000
committerAlexander Kurtakov2015-12-14 09:06:00 +0000
commit8a834d59702025a3d1f44f379977b80068189213 (patch)
tree7f7c55fd20b0c5c7bdfbc80266bec0e60bebee4b /debug/org.eclipse.cdt.debug.ui
parent34281a96e0e6e4c72938b4c0beb46a361d17f696 (diff)
downloadorg.eclipse.cdt-8a834d59702025a3d1f44f379977b80068189213.tar.gz
org.eclipse.cdt-8a834d59702025a3d1f44f379977b80068189213.tar.xz
org.eclipse.cdt-8a834d59702025a3d1f44f379977b80068189213.zip
Cleanups.
Remove useless: * casts. * suppress warnings unchecked. * @see comments Change-Id: I4713e9ddf90195cf1e465b3743f5f0bc7e41d338 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Diffstat (limited to 'debug/org.eclipse.cdt.debug.ui')
-rw-r--r--debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/CDebugUIUtils.java1
-rw-r--r--debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/ui/breakpoints/AbstractToggleBreakpointAdapter.java1
2 files changed, 0 insertions, 2 deletions
diff --git a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/CDebugUIUtils.java b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/CDebugUIUtils.java
index 4496fc7c524..c9d16847604 100644
--- a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/CDebugUIUtils.java
+++ b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/CDebugUIUtils.java
@@ -297,7 +297,6 @@ public class CDebugUIUtils {
IAnnotationModel annotationModel = editor.getDocumentProvider().getAnnotationModel(editor.getEditorInput());
IDocument document = editor.getDocumentProvider().getDocument(editor.getEditorInput());
if (annotationModel != null) {
- @SuppressWarnings("unchecked")
Iterator<Annotation> iterator = annotationModel.getAnnotationIterator();
while (iterator.hasNext()) {
Object object = iterator.next();
diff --git a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/ui/breakpoints/AbstractToggleBreakpointAdapter.java b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/ui/breakpoints/AbstractToggleBreakpointAdapter.java
index fc97308fbfa..95b04e7897c 100644
--- a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/ui/breakpoints/AbstractToggleBreakpointAdapter.java
+++ b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/ui/breakpoints/AbstractToggleBreakpointAdapter.java
@@ -846,7 +846,6 @@ abstract public class AbstractToggleBreakpointAdapter
IAnnotationModel annotationModel = editor.getDocumentProvider().getAnnotationModel(editor.getEditorInput());
IDocument document = editor.getDocumentProvider().getDocument(editor.getEditorInput());
if (annotationModel != null) {
- @SuppressWarnings("unchecked")
Iterator<Annotation> iterator = annotationModel.getAnnotationIterator();
while (iterator.hasNext()) {
Object object = iterator.next();

Back to the top