public String cleanLine ( final String line ) { String cleanedLine = extendedCleanLine ( line ) ; /* Right trim, no need to over burden the lexer with spaces */ cleanedLine = ( "a" + cleanedLine ) . trim ( ) . substring ( 1 ) ; return cleanedLine ; }
Remove characters that should not be passed to the lexer .