One thing an old school C programmer would not do is neglect to put parens around their blocks.
for (String next = in.readLine();
next != null && dictionary.add(next);
next = in.readLine());
...you can sense my contempt for this assignment. I would of course never do this in a real program.