Skip to content
This repository was archived by the owner on Mar 8, 2020. It is now read-only.

Commit a660eeb

Browse files
author
Juanjo Alvarez
committed
Formatting
Signed-off-by: Juanjo Alvarez <juanjo@sourced.tech>
1 parent 3f97919 commit a660eeb

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

native/src/main/java/tech/sourced/babelfish/JsonASTVisitor.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
import java.lang.reflect.Method;
1818
import java.lang.reflect.InvocationTargetException;
1919

20-
2120
/// Visitor pattern implementation for the CPP AST. This will write every
2221
/// node in the Json output. Since CDT unfortunately doesnt have something like JDT
2322
/// "structuralPropertiesForType", we must visit ALL the base nodes and check
@@ -80,7 +79,6 @@ public int compareTo(MethodWrapper m) {
8079
}
8180
}
8281

83-
8482
JsonASTVisitor(JsonGenerator json, NodeCommentMap commentMap) {
8583
super();
8684
this.json = json;
@@ -580,7 +578,7 @@ public int visit(IASTExpression node) {
580578
serializeComments(node);
581579
String exprType = node.getExpressionType().toString();
582580

583-
if (exprType.indexOf("dom.parser.ProblemType@") != -1) {
581+
if (exprType.indexOf("ProblemType@") != -1) {
584582
// Trying to get the type of some untyped expressions give something
585583
// like:
586584
// org.eclipse.cdt.internal.core.dom.parser.ProblemType@50a638b5

0 commit comments

Comments
 (0)