diff options
author | Karen Butzke | 2012-11-05 14:11:48 +0000 |
---|---|---|
committer | Karen Butzke | 2012-11-05 14:11:48 +0000 |
commit | fa46915f7bd390238ed8af95b4ac8d390dbc1025 (patch) | |
tree | 08ab8d48fc002ff37880d0c27681fef4e6b825a8 | |
parent | 62942f9a8ea39a143f59bb78e9005fc112357c2f (diff) | |
download | webtools.dali-fa46915f7bd390238ed8af95b4ac8d390dbc1025.tar.gz webtools.dali-fa46915f7bd390238ed8af95b4ac8d390dbc1025.tar.xz webtools.dali-fa46915f7bd390238ed8af95b4ac8d390dbc1025.zip |
switch ASTParser parser to use AST.JLS4 since AST.JLS3 was deprecatedv201211052140
-rw-r--r-- | common/plugins/org.eclipse.jpt.common.core/src/org/eclipse/jpt/common/core/internal/utility/jdt/ASTTools.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/plugins/org.eclipse.jpt.common.core/src/org/eclipse/jpt/common/core/internal/utility/jdt/ASTTools.java b/common/plugins/org.eclipse.jpt.common.core/src/org/eclipse/jpt/common/core/internal/utility/jdt/ASTTools.java index 79757d335d..49f562909b 100644 --- a/common/plugins/org.eclipse.jpt.common.core/src/org/eclipse/jpt/common/core/internal/utility/jdt/ASTTools.java +++ b/common/plugins/org.eclipse.jpt.common.core/src/org/eclipse/jpt/common/core/internal/utility/jdt/ASTTools.java @@ -65,7 +65,7 @@ public class ASTTools { } private static ASTParser astParser() { - ASTParser parser = ASTParser.newParser(AST.JLS3); + ASTParser parser = ASTParser.newParser(AST.JLS4); parser.setIgnoreMethodBodies(true); // we don't need method bodies parser.setResolveBindings(true); parser.setBindingsRecovery(true); // see bugs 196200, 222735 |