class JcrSqlQueryParser extends BasicSqlQueryParser {

    @Override
    protected String removeBracketsAndQuotes( String text,
                                              Position position ) {
        if (text.length() > 0) {
            char firstChar = text.charAt(0);
            switch (firstChar) {
                case '\'':
                    assert text.charAt(text.length() - 1) == firstChar;
                    return removeBracketsAndQuotes(text.substring(1, text.length() - 1), position);
            }
        }
        return text;
    }

    public  JcrSqlQueryParser();

}