summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaren Butzke2012-11-05 09:11:48 (EST)
committerKaren Butzke2012-11-05 09:11:48 (EST)
commitfa46915f7bd390238ed8af95b4ac8d390dbc1025 (patch)
tree08ab8d48fc002ff37880d0c27681fef4e6b825a8
parent62942f9a8ea39a143f59bb78e9005fc112357c2f (diff)
downloadwebtools.dali-fa46915f7bd390238ed8af95b4ac8d390dbc1025.zip
webtools.dali-fa46915f7bd390238ed8af95b4ac8d390dbc1025.tar.gz
webtools.dali-fa46915f7bd390238ed8af95b4ac8d390dbc1025.tar.bz2
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.java2
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 79757d3..49f5629 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