title: Buffered Reader readLine() with Empty lines
body: <p>I am using buffered reader to grab a line at a time from a text file. I am trying to also get the line number from the text file using a tracking integer. Unfortunately <em>BufferedReader</em> is skipping empty lines (ones with just <strong>/n</strong> or the carriage return). </p>
  
  <p>Is there a better way to solve this? Would using scanner work?</p>
  
  <p>Example code:</p>
  
  <pre><code>int lineNumber = 0;
  while ((s = br.readLine()) != null) {
      this.charSequence.add(s, ++lineNumber);
  }
  </code></pre>