Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkmoore2009-07-10 12:51:53 +0000
committerkmoore2009-07-10 12:51:53 +0000
commite8045d96e8b52c0c6b090489878e23fadd4d4499 (patch)
tree880e4a7810c91714893ea6f9e0a5215d275d0af3
parentd39f7f706f98f7842b996ba62492b48985002d78 (diff)
downloadwebtools.dali-e8045d96e8b52c0c6b090489878e23fadd4d4499.tar.gz
webtools.dali-e8045d96e8b52c0c6b090489878e23fadd4d4499.tar.xz
webtools.dali-e8045d96e8b52c0c6b090489878e23fadd4d4499.zip
cleaning up warnings
-rw-r--r--jpa/tests/org.eclipse.jpt.core.tests.extension.resource/src/org/eclipse/jpt/core/tests/extension/resource/ExtensionTestPlugin.java5
-rw-r--r--jpa/tests/org.eclipse.jpt.core.tests.extension.resource/src/org/eclipse/jpt/core/tests/extension/resource/JavaTestAttributeMapping.java11
-rw-r--r--jpa/tests/org.eclipse.jpt.core.tests.extension.resource/src/org/eclipse/jpt/core/tests/extension/resource/JavaTestTypeMapping.java4
3 files changed, 11 insertions, 9 deletions
diff --git a/jpa/tests/org.eclipse.jpt.core.tests.extension.resource/src/org/eclipse/jpt/core/tests/extension/resource/ExtensionTestPlugin.java b/jpa/tests/org.eclipse.jpt.core.tests.extension.resource/src/org/eclipse/jpt/core/tests/extension/resource/ExtensionTestPlugin.java
index 51075a6443..47ff993fb2 100644
--- a/jpa/tests/org.eclipse.jpt.core.tests.extension.resource/src/org/eclipse/jpt/core/tests/extension/resource/ExtensionTestPlugin.java
+++ b/jpa/tests/org.eclipse.jpt.core.tests.extension.resource/src/org/eclipse/jpt/core/tests/extension/resource/ExtensionTestPlugin.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2008 Oracle. All rights reserved.
+ * Copyright (c) 2008, 2009 Oracle. All rights reserved.
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -19,7 +19,7 @@ import org.osgi.framework.BundleContext;
public class ExtensionTestPlugin extends Plugin {
// The plug-in ID
- public static final String PLUGIN_ID = "org.eclipse.jpt.core.tests.extension.resource";
+ public static final String PLUGIN_ID = "org.eclipse.jpt.core.tests.extension.resource"; //$NON-NLS-1$
// The shared instance
private static ExtensionTestPlugin plugin;
@@ -28,6 +28,7 @@ public class ExtensionTestPlugin extends Plugin {
* The constructor
*/
public ExtensionTestPlugin() {
+ super();
}
@Override
diff --git a/jpa/tests/org.eclipse.jpt.core.tests.extension.resource/src/org/eclipse/jpt/core/tests/extension/resource/JavaTestAttributeMapping.java b/jpa/tests/org.eclipse.jpt.core.tests.extension.resource/src/org/eclipse/jpt/core/tests/extension/resource/JavaTestAttributeMapping.java
index faafbc30a3..0093e31b33 100644
--- a/jpa/tests/org.eclipse.jpt.core.tests.extension.resource/src/org/eclipse/jpt/core/tests/extension/resource/JavaTestAttributeMapping.java
+++ b/jpa/tests/org.eclipse.jpt.core.tests.extension.resource/src/org/eclipse/jpt/core/tests/extension/resource/JavaTestAttributeMapping.java
@@ -12,11 +12,13 @@ package org.eclipse.jpt.core.tests.extension.resource;
import java.util.Iterator;
import org.eclipse.jpt.core.context.java.JavaPersistentAttribute;
import org.eclipse.jpt.core.internal.context.java.AbstractJavaAttributeMapping;
+import org.eclipse.jpt.core.resource.java.Annotation;
+import org.eclipse.jpt.utility.internal.iterators.EmptyListIterator;
-public class JavaTestAttributeMapping extends AbstractJavaAttributeMapping
+public class JavaTestAttributeMapping extends AbstractJavaAttributeMapping<Annotation>
{
- public static final String TEST_ATTRIBUTE_MAPPING_KEY = "testAttribute";
- public static final String TEST_ATTRIBUTE_ANNOTATION_NAME = "test.TestAttribute";
+ public static final String TEST_ATTRIBUTE_MAPPING_KEY = "testAttribute"; //$NON-NLS-1$
+ public static final String TEST_ATTRIBUTE_ANNOTATION_NAME = "test.TestAttribute"; //$NON-NLS-1$
public JavaTestAttributeMapping(JavaPersistentAttribute parent) {
@@ -32,7 +34,6 @@ public class JavaTestAttributeMapping extends AbstractJavaAttributeMapping
}
public Iterator<String> supportingAnnotationNames() {
- // TODO Auto-generated method stub
- return null;
+ return EmptyListIterator.instance();
}
}
diff --git a/jpa/tests/org.eclipse.jpt.core.tests.extension.resource/src/org/eclipse/jpt/core/tests/extension/resource/JavaTestTypeMapping.java b/jpa/tests/org.eclipse.jpt.core.tests.extension.resource/src/org/eclipse/jpt/core/tests/extension/resource/JavaTestTypeMapping.java
index 4129cdd8d7..d0f2d4e858 100644
--- a/jpa/tests/org.eclipse.jpt.core.tests.extension.resource/src/org/eclipse/jpt/core/tests/extension/resource/JavaTestTypeMapping.java
+++ b/jpa/tests/org.eclipse.jpt.core.tests.extension.resource/src/org/eclipse/jpt/core/tests/extension/resource/JavaTestTypeMapping.java
@@ -16,8 +16,8 @@ import org.eclipse.jpt.utility.internal.iterators.EmptyIterator;
public class JavaTestTypeMapping extends AbstractJavaTypeMapping
{
- public static final String TEST_TYPE_MAPPING_KEY = "test";
- public static final String TEST_TYPE_ANNOTATION_NAME = "test.Test";
+ public static final String TEST_TYPE_MAPPING_KEY = "test"; //$NON-NLS-1$
+ public static final String TEST_TYPE_ANNOTATION_NAME = "test.Test"; //$NON-NLS-1$
public JavaTestTypeMapping(JavaPersistentType parent) {

Back to the top