Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Desrivieres2004-04-23 17:38:59 +0000
committerJim Desrivieres2004-04-23 17:38:59 +0000
commite5f48a4d4e39a733649e1d7678dd3cc38b1f57e5 (patch)
tree72f404dbb63ffa03f442d43971ca652384ec4cbb /org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/BodyDeclaration.java
parent522e84acc5c220c07378cd67640c99884ac9cc9d (diff)
downloadeclipse.jdt.core-e5f48a4d4e39a733649e1d7678dd3cc38b1f57e5.tar.gz
eclipse.jdt.core-e5f48a4d4e39a733649e1d7678dd3cc38b1f57e5.tar.xz
eclipse.jdt.core-e5f48a4d4e39a733649e1d7678dd3cc38b1f57e5.zip
Rename AST.LEVEL* (bug 59788)
Diffstat (limited to 'org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/BodyDeclaration.java')
-rw-r--r--org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/BodyDeclaration.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/BodyDeclaration.java b/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/BodyDeclaration.java
index 9934a856fe..dda60ea4ec 100644
--- a/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/BodyDeclaration.java
+++ b/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/BodyDeclaration.java
@@ -143,7 +143,7 @@ public abstract class BodyDeclaration extends ASTNode {
*/
BodyDeclaration(AST ast) {
super(ast);
- if (ast.apiLevel >= AST.LEVEL_3_0) {
+ if (ast.apiLevel >= AST.JLS3) {
this.modifiers = new ASTNode.NodeList(internalModifiers2Property());
}
}

Back to the top