Menu

#4 Bug in HyphenDict.java

open
nobody
None
5
2005-03-20
2005-03-20
No

Does not work when there are empty lines in dictionary
files:

Change this line:
while((buf=in.readLine()) != null) {
if (buf.charAt(0) == '%') continue;

to this:
while((buf=in.readLine()) != null) {
if (buf.length()==0 || buf.charAt(0) ==
'%') continue;

Discussion


Log in to post a comment.

MongoDB Logo MongoDB