mdarifmustafa / vt-middleware

Automatically exported from code.google.com/p/vt-middleware
0 stars 0 forks source link

vt-dictionary: WordLists trims whitespace when reading files #181

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
WordLists#createFromReader invokes String#trim on each line before adding it to 
the underlying ArrayList.
This behavior modifies any words that begin or end with spaces and will 
ultimately break the sorting of the list.

Update the code to accept input as received from the file.
Note that BufferedReader#readLine is used so end-of-line characters have 
already been removed.

Original issue reported on code.google.com by dfis...@gmail.com on 30 Jul 2013 at 2:16

GoogleCodeExporter commented 8 years ago
Fixed.
See https://github.com/vt-middleware/passay/issues/16

Original comment by dfis...@gmail.com on 13 Oct 2014 at 8:35