#1 PropertyFile.java - check for LF too

closed
nobody
None
5
2008-06-15
2007-06-26
onitake
No

This is a bug report against 0.4.3.1.

In net/sf/microlog/util/properties/PropertyFile.java, line 84, MicroLog is checking for \r\n, but if a supplied property file uses UNIX line endings (\n), this will leave the line ignored.

Does some specification require property files to use DOS line endings? Or is this just something that slipped through? I don't think it's a good idea to rely on the developer using Windows (I am not).

Discussion

  • Johan Karlsson
    Johan Karlsson
    2008-06-15

    • status: open --> closed
     
  • Johan Karlsson
    Johan Karlsson
    2008-06-15

    Logged In: YES
    user_id=1211128
    Originator: NO

    This has been fixed in the latest release (v0.5)

     
  • onitake
    onitake
    2008-06-15

    Logged In: YES
    user_id=1116049
    Originator: YES

    thanks!