Skip to content

Commit

Permalink
Remove attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
vogti committed Mar 27, 2024
1 parent d3130d2 commit 414757d
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,6 @@
@Slf4j
public class SqlLanguagePlugin extends PolyPlugin {

public static final String LIMIT = "limit";
@Getter
@VisibleForTesting
private static boolean isInit = false;
Expand Down Expand Up @@ -223,7 +222,7 @@ public static void startup() {

private static QueryContext removeLimit( QueryContext queryContext ) {
String lowercase = queryContext.getQuery().toLowerCase();
if ( !lowercase.contains( LIMIT ) ) {
if ( !lowercase.contains( "limit" ) ) {
return queryContext;
}

Expand Down

0 comments on commit 414757d

Please sign in to comment.