mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
bug fixed and add license
This commit is contained in:
@@ -48,6 +48,10 @@ public abstract class SQLObjectImpl implements SQLObject, Serializable {
|
||||
protected abstract void accept0(SQLASTVisitor visitor);
|
||||
|
||||
protected final void acceptChild(SQLASTVisitor visitor, List<? extends SQLObject> children) {
|
||||
if (children == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
for (SQLObject child : children) {
|
||||
acceptChild(visitor, child);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user