Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2017-08-10 01:18:23 -0400
committerAlexander Kurtakov2017-08-10 01:18:23 -0400
commit6332700c91974929c72b945b8dc2b34deb378a21 (patch)
tree9ab03882b8ddecad3ae80668998c6bdbb7f0c6f0 /org.eclipse.ui.genericeditor
parent1ba9040176a1bdaf3c47df85728ae4ab5b0d2a93 (diff)
downloadeclipse.platform.text-6332700c91974929c72b945b8dc2b34deb378a21.tar.gz
eclipse.platform.text-6332700c91974929c72b945b8dc2b34deb378a21.tar.xz
eclipse.platform.text-6332700c91974929c72b945b8dc2b34deb378a21.zip
Suppress warning about unchecked cast. Change-Id: I97dd3ae8c1946535fc0dee73bb6bdaaf22f43341 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Diffstat (limited to 'org.eclipse.ui.genericeditor')
-rw-r--r--org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/GenericContentTypeRelatedExtension.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/GenericContentTypeRelatedExtension.java b/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/GenericContentTypeRelatedExtension.java
index da7dc2be1..1de66f221 100644
--- a/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/GenericContentTypeRelatedExtension.java
+++ b/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/GenericContentTypeRelatedExtension.java
@@ -36,6 +36,7 @@ public class GenericContentTypeRelatedExtension<T> {
this.targetContentType = Platform.getContentTypeManager().getContentType(element.getAttribute(CONTENT_TYPE_ATTRIBUTE));
}
+ @SuppressWarnings("unchecked")
public T createDelegate() {
try {
return (T) extension.createExecutableExtension(CLASS_ATTRIBUTE);

Back to the top