[Minor] code cleanup
This commit is contained in:
parent
1320e694f1
commit
a289c61dcc
|
@ -155,7 +155,7 @@ public class QueryProcessor {
|
||||||
private CompiledStatement compile(ParseTree tree) {
|
private CompiledStatement compile(ParseTree tree) {
|
||||||
|
|
||||||
ParseTreeWalker walker = new ParseTreeWalker();
|
ParseTreeWalker walker = new ParseTreeWalker();
|
||||||
SOQLListener listener = new SOQLListener();
|
StrolchSOQLListener listener = new StrolchSOQLListener();
|
||||||
walker.walk(listener, tree);
|
walker.walk(listener, tree);
|
||||||
|
|
||||||
CompiledStatement soqlStatement = new CompiledStatement();
|
CompiledStatement soqlStatement = new CompiledStatement();
|
||||||
|
|
|
@ -10,7 +10,7 @@ import li.strolch.soql.core.expresssion.*;
|
||||||
/**
|
/**
|
||||||
* @author msmock
|
* @author msmock
|
||||||
*/
|
*/
|
||||||
public class SOQLListener extends SOQLBaseListener {
|
public class StrolchSOQLListener extends SOQLBaseListener {
|
||||||
|
|
||||||
// the map of entities declared in the FROM clause with their nicknames as keys
|
// the map of entities declared in the FROM clause with their nicknames as keys
|
||||||
private final Map<String, String> entities = new HashMap<>();
|
private final Map<String, String> entities = new HashMap<>();
|
|
@ -49,7 +49,7 @@ public abstract class BaseTest {
|
||||||
CompiledStatement compile(final ParseTree tree) {
|
CompiledStatement compile(final ParseTree tree) {
|
||||||
|
|
||||||
final ParseTreeWalker walker = new ParseTreeWalker();
|
final ParseTreeWalker walker = new ParseTreeWalker();
|
||||||
final SOQLListener listener = new SOQLListener();
|
final StrolchSOQLListener listener = new StrolchSOQLListener();
|
||||||
walker.walk(listener, tree);
|
walker.walk(listener, tree);
|
||||||
|
|
||||||
final CompiledStatement soqlStatement = new CompiledStatement();
|
final CompiledStatement soqlStatement = new CompiledStatement();
|
||||||
|
|
Loading…
Reference in New Issue