mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
add @Override annotation
This commit is contained in:
@@ -47,5 +47,6 @@ public interface SQLSelectBuilder {
|
||||
|
||||
SQLSelectBuilder whereOr(String sql);
|
||||
|
||||
@Override
|
||||
String toString();
|
||||
}
|
||||
|
||||
@@ -138,6 +138,7 @@ public class SQLDeleteBuilderImpl implements SQLDeleteBuilder {
|
||||
return new SQLDeleteStatement();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return SQLUtils.toSQLString(stmt, dbType);
|
||||
}
|
||||
|
||||
@@ -80,6 +80,7 @@ public class SQLSelectBuilderImpl implements SQLSelectBuilder {
|
||||
return stmt;
|
||||
}
|
||||
|
||||
@Override
|
||||
public SQLSelectBuilderImpl select(String... columns) {
|
||||
SQLSelectQueryBlock queryBlock = getQueryBlock();
|
||||
|
||||
@@ -266,6 +267,7 @@ public class SQLSelectBuilderImpl implements SQLSelectBuilder {
|
||||
return new SQLSelectGroupByClause();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return SQLUtils.toSQLString(stmt, dbType);
|
||||
}
|
||||
|
||||
@@ -118,6 +118,7 @@ public class SQLUpdateBuilderImpl extends SQLBuilderImpl implements SQLUpdateBui
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public SQLUpdateBuilderImpl set(String... items) {
|
||||
SQLUpdateStatement update = getSQLUpdateStatement();
|
||||
for (String item : items) {
|
||||
@@ -177,6 +178,7 @@ public class SQLUpdateBuilderImpl extends SQLBuilderImpl implements SQLUpdateBui
|
||||
return new SQLUpdateStatement();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return SQLUtils.toSQLString(stmt, dbType);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user