code: 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;
      }
docs: Remove characters that should not be passed to the lexer.
  
  @param line before cleaning
  @return a cleaner line of code