[jOOQ/jOOQ#9986] Some minor QueryPartList improvements
This commit is contained in:
parent
db13cee6d3
commit
ffc92f2f76
@ -42,14 +42,13 @@ import static java.util.Arrays.asList;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
import org.jooq.QueryPart;
|
||||
|
||||
/**
|
||||
* @author Lukas Eder
|
||||
*/
|
||||
class QueryPartList<T extends QueryPart> extends QueryPartListView<T> implements List<T> {
|
||||
class QueryPartList<T extends QueryPart> extends QueryPartListView<T> {
|
||||
|
||||
private static final long serialVersionUID = -2936922742534009564L;
|
||||
|
||||
@ -68,4 +67,14 @@ class QueryPartList<T extends QueryPart> extends QueryPartListView<T> implements
|
||||
if (wrappedList != null && !wrappedList.isEmpty())
|
||||
addAll(wrappedList);
|
||||
}
|
||||
|
||||
@Override
|
||||
QueryPartList<T> indentSize(int newIndentSize) {
|
||||
return (QueryPartList<T>) super.indentSize(newIndentSize);
|
||||
}
|
||||
|
||||
@Override
|
||||
QueryPartList<T> qualify(boolean newQualify) {
|
||||
return (QueryPartList<T>) super.qualify(newQualify);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user