Cleanup examples.
This commit is contained in:
parent
5de9d7b5e0
commit
12855c5b3e
2 changed files with 4 additions and 4 deletions
|
@ -16,7 +16,8 @@ public class ReadingTimeSample {
|
|||
rt.setPlural("minutes to read");
|
||||
|
||||
System.out.println("It will take " + rt.calcReadingTime() + ' ' + ReadingTime.wordCount(rt.getText())
|
||||
+ " words and " + ReadingTime.imgCount(rt.getText()) + " images.");
|
||||
+ " words and " + ReadingTime.imgCount(rt.getText()) + " images at " + rt.getWpm()
|
||||
+ " words per minute.");
|
||||
} catch (IOException e) {
|
||||
System.err.println("The file could not be read or found.");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue