Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkmoore2010-12-30 14:02:47 -0500
committerkmoore2010-12-30 14:02:47 -0500
commit49b7009fc409667c4df4e0af9c2235ae9483a7ba (patch)
tree4f1de9142fe987fb9936c1d22bee23c06526d897
parentfb083d2e2bf54af814a76e1e52f3b51141c63286 (diff)
downloadwebtools.dali-49b7009fc409667c4df4e0af9c2235ae9483a7ba.tar.gz
webtools.dali-49b7009fc409667c4df4e0af9c2235ae9483a7ba.tar.xz
webtools.dali-49b7009fc409667c4df4e0af9c2235ae9483a7ba.zip
removed unnecessary buildNullAnnotation method
-rw-r--r--jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/internal/resource/java/source/SourceEnumConstant.java7
-rw-r--r--jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/resource/java/JavaResourceEnumConstant.java9
2 files changed, 0 insertions, 16 deletions
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/internal/resource/java/source/SourceEnumConstant.java b/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/internal/resource/java/source/SourceEnumConstant.java
index ae83bed265..9c7504ec1c 100644
--- a/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/internal/resource/java/source/SourceEnumConstant.java
+++ b/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/internal/resource/java/source/SourceEnumConstant.java
@@ -13,7 +13,6 @@ import org.eclipse.jdt.core.dom.CompilationUnit;
import org.eclipse.jpt.core.internal.utility.jdt.JDTEnumConstant;
import org.eclipse.jpt.core.utility.jdt.EnumConstant;
import org.eclipse.jpt.core.utility.jdt.Enum;
-import org.eclipse.jpt.jaxb.core.resource.java.Annotation;
import org.eclipse.jpt.jaxb.core.resource.java.JavaResourceCompilationUnit;
import org.eclipse.jpt.jaxb.core.resource.java.JavaResourceEnum;
import org.eclipse.jpt.jaxb.core.resource.java.JavaResourceEnumConstant;
@@ -81,10 +80,4 @@ final class SourceEnumConstant
public String getName() {
return this.annotatedElement.getName();
}
-
- @Override
- public Annotation buildNullAnnotation(String annotationName) {
- return (annotationName == null) ? null : super.buildNullAnnotation(annotationName);
- }
-
}
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/resource/java/JavaResourceEnumConstant.java b/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/resource/java/JavaResourceEnumConstant.java
index 551dfb3e7b..e7ab99a4ee 100644
--- a/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/resource/java/JavaResourceEnumConstant.java
+++ b/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/resource/java/JavaResourceEnumConstant.java
@@ -28,14 +28,5 @@ public interface JavaResourceEnumConstant
* The Java resource enum constant's name does not change.
*/
String getName();
-
- /**
- * Return a null annotation for the specified annotation name.
- * Return null if the specified annotation name is null.
- * The corresponding AnnotationDefinition must implement #buildNullAnnotation()
- * {@link AnnotationDefinition#buildNullAnnotation(JavaResourceMember,
- * org.eclipse.jpt.core.utility.jdt.Member)}
- */
- Annotation buildNullAnnotation(String annotationName);
}

Back to the top