Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2020-02-25 18:24:14 +0000
committerMickael Istria2020-04-15 22:43:43 +0000
commit93bab29df817040ebb1c9be1e7366ca3a4f4037c (patch)
tree6162c49ecbe83a822d33ec20f7abbb0f3a5d755b /org.eclipse.m2e.editor
parentdbca5c5a1ee3b72a2cdfdf4450aee832358f08f9 (diff)
downloadm2e-core-93bab29df817040ebb1c9be1e7366ca3a4f4037c.tar.gz
m2e-core-93bab29df817040ebb1c9be1e7366ca3a4f4037c.tar.xz
m2e-core-93bab29df817040ebb1c9be1e7366ca3a4f4037c.zip
Remove unused cast.
Change-Id: I0a38082d0e98699fcf5b255ce44c93c135c236fc Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Diffstat (limited to 'org.eclipse.m2e.editor')
-rw-r--r--org.eclipse.m2e.editor/src/org/eclipse/m2e/editor/pom/MavenPomEditor.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.m2e.editor/src/org/eclipse/m2e/editor/pom/MavenPomEditor.java b/org.eclipse.m2e.editor/src/org/eclipse/m2e/editor/pom/MavenPomEditor.java
index 14c0c66e..af994a27 100644
--- a/org.eclipse.m2e.editor/src/org/eclipse/m2e/editor/pom/MavenPomEditor.java
+++ b/org.eclipse.m2e.editor/src/org/eclipse/m2e/editor/pom/MavenPomEditor.java
@@ -829,7 +829,7 @@ public class MavenPomEditor extends FormEditor implements IResourceChangeListene
public void gotoMarker(IMarker marker) {
// TODO use selection to activate corresponding form page elements
setActivePage(sourcePageIndex);
- IGotoMarker adapter = (IGotoMarker) sourcePage.getAdapter(IGotoMarker.class);
+ IGotoMarker adapter = sourcePage.getAdapter(IGotoMarker.class);
adapter.gotoMarker(marker);
}

Back to the top