HHH-13496 Constants not declared static
This commit is contained in:
parent
d0bd04b6d3
commit
bfc66ec356
|
@ -32,7 +32,7 @@ public class SQLServer2005LimitHandler extends AbstractLimitHandler {
|
|||
private static final String SELECT_DISTINCT = SELECT + " " + DISTINCT;
|
||||
private static final String SELECT_DISTINCT_SPACE = SELECT_DISTINCT + " ";
|
||||
|
||||
final String SELECT_SPACE = "select ";
|
||||
private static final String SELECT_SPACE = "select ";
|
||||
|
||||
private static final Pattern SELECT_DISTINCT_PATTERN = buildShallowIndexPattern( SELECT_DISTINCT_SPACE, true );
|
||||
private static final Pattern SELECT_PATTERN = buildShallowIndexPattern( SELECT + "(.*)", true );
|
||||
|
|
|
@ -35,6 +35,8 @@ public class QuerySpaceTreePrinter {
|
|||
*/
|
||||
public static final QuerySpaceTreePrinter INSTANCE = new QuerySpaceTreePrinter();
|
||||
|
||||
private static final int detailDepthOffset = 1;
|
||||
|
||||
private QuerySpaceTreePrinter() {
|
||||
}
|
||||
|
||||
|
@ -146,8 +148,6 @@ public class QuerySpaceTreePrinter {
|
|||
writeJoins( querySpace.getJoins(), depth + 1, aliasResolutionContext, printWriter );
|
||||
}
|
||||
|
||||
final int detailDepthOffset = 1;
|
||||
|
||||
private void generateDetailLines(
|
||||
QuerySpace querySpace,
|
||||
int depth,
|
||||
|
|
Loading…
Reference in New Issue