lspecia / quest

Pascal2 Harvest project QuEst
14 stars 15 forks source link

Properties file reader is sensitive to trailing spaces #29

Open lefterav opened 11 years ago

lefterav commented 11 years ago

When filenames are specified in the properties file, it is possible that one adds by accident a space in the end of the filename. This cannot be seen in a text editor, but quest will read the space as part of the filename and will try to find that. This will result in a FileNotFound exception, which will be very difficult to debug, because trailing spaces are not visible

I lost about 4 hours struggling to find why Giza file was not being read

The right behaviour is to trim the values of the properties files