BufferedReader not returning null at the last line
<p>The last line contains nothing , yet it does not return <code>null</code>. Code is as follows</p>

<p>When debug using <code>Eclipse</code>, I saw <code>line= ""</code> in debug mode, how do I prevent this from happening</p>

<pre><code>BufferedReader br = new BufferedReader(new FileReader(file));
String line;
while ((line = br.readLine()) != null) {
   // process the line.
}
br.close();
</code></pre>
