code: protected static boolean endsWithSlash(String line) {
  
          if (!line.endsWith("\\")) {
              return false;
          }
          return ((countPreceding(line, line.length() - 1, '\\') % 2) == 0);
      }
docs: Checks if the line ends with odd number of backslashes.<p>
  
  @param line the line to check
  
  @return <code>true</code> if the line ends with odd number of backslashes