diff options
author | Lakshmi Shanmugam | 2013-12-02 12:10:18 +0000 |
---|---|---|
committer | Lakshmi Shanmugam | 2013-12-02 12:11:15 +0000 |
commit | e80d9be379710ecdefd1065bc99363b3735812c7 (patch) | |
tree | acec68f51aa7b442d24e7bfdf01e7c027f29b070 /bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt | |
parent | 37d0f59871bc72dcdc6d545c2b083cef460ddc2f (diff) | |
download | eclipse.platform.swt-e80d9be379710ecdefd1065bc99363b3735812c7.tar.gz eclipse.platform.swt-e80d9be379710ecdefd1065bc99363b3735812c7.tar.xz eclipse.platform.swt-e80d9be379710ecdefd1065bc99363b3735812c7.zip |
Remove Unnecessary @SuppressWarnings in tools project and set the
preference to match eclipse build
Diffstat (limited to 'bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt')
3 files changed, 1 insertions, 3 deletions
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ASTClass.java b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ASTClass.java index e73f3d9722..9e6630e284 100644 --- a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ASTClass.java +++ b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ASTClass.java @@ -27,7 +27,7 @@ import org.eclipse.jdt.core.dom.TypeDeclaration; import org.eclipse.jdt.core.dom.VariableDeclarationFragment; import org.eclipse.swt.tools.internal.ASTType.TypeResolver; -@SuppressWarnings({ "unchecked", "deprecation" }) +@SuppressWarnings("deprecation") public class ASTClass extends ASTItem implements JNIClass { String sourcePath; MetaData metaData; diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ASTField.java b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ASTField.java index a749d38d63..dacbd54b62 100644 --- a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ASTField.java +++ b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ASTField.java @@ -26,7 +26,6 @@ public class ASTField extends ASTItem implements JNIField { String data; int start; -@SuppressWarnings("unchecked") public ASTField(ASTClass declaringClass, String source, FieldDeclaration field, VariableDeclarationFragment fragment) { this.declaringClass = declaringClass; name = fragment.getName().getIdentifier(); diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ASTMethod.java b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ASTMethod.java index 48dbb21143..0faf6317c8 100644 --- a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ASTMethod.java +++ b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ASTMethod.java @@ -30,7 +30,6 @@ public class ASTMethod extends ASTItem implements JNIMethod { String data; int start; -@SuppressWarnings("unchecked") public ASTMethod(ASTClass declaringClass, String source, MethodDeclaration method) { this.declaringClass = declaringClass; |