>>494
> String line = null;
このnullは何?


for (String line; (line = br.readLine()) != null; ){ ... }