Java Text file parsing error
<p>If the file has a blank line as the last line of the file, it blows out after the while statement.  Can someone help?</p>

<pre><code>while(in.hasNext())
{
   tempPropID = in.nextInt();
   tempPropType = in.next().toUpperCase();
   tempPropCost =  in.nextDouble();
   tempAgentID = in.nextByte(WIDTH);
}
</code></pre>
