format code

git-svn-id: http://code.alibabatech.com/svn/druid/trunk@527 b9813039-fb51-4c41-a8b9-e21c2acb5095
This commit is contained in:
wenshao
2011-08-01 19:45:46 +00:00
parent a803236cfa
commit c270d3f308
161 changed files with 3709 additions and 2349 deletions
@@ -786,7 +786,7 @@ public class SQLASTOutputVisitor extends SQLASTVisitorAdapter {
}
print(", ");
}
x.getValues().get(i).accept(this);
}
decrementIndent();
@@ -861,7 +861,7 @@ public class SQLASTOutputVisitor extends SQLASTVisitorAdapter {
println();
decrementIndent();
print(")");
if (x.getAlias() != null) {
print(' ');
print(x.getAlias());
@@ -325,8 +325,8 @@ public interface SQLASTVisitor {
void endVisit(SQLListExpr x);
boolean visit(SQLListExpr x);
void endVisit(SQLSubqueryTableSource x);
boolean visit(SQLSubqueryTableSource x);
}
@@ -546,19 +546,19 @@ public class SQLASTVisitorAdapter implements SQLASTVisitor {
@Override
public void endVisit(SQLListExpr x) {
}
@Override
public boolean visit(SQLListExpr x) {
return true;
}
@Override
public void endVisit(SQLSubqueryTableSource x) {
}
@Override
public boolean visit(SQLSubqueryTableSource x) {
return true;