HHH-13496 Constants not declared static

This commit is contained in:
Sanne Grinovero 2019-07-05 22:03:23 +01:00
parent d0bd04b6d3
commit bfc66ec356
2 changed files with 3 additions and 3 deletions

View File

@ -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 );

View File

@ -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,