EncodedPropertiesLoader doesn't handles comments correctly
----------------------------------------------------------

                 Key: TAPESTRY-1979
                 URL: https://issues.apache.org/jira/browse/TAPESTRY-1979
             Project: Tapestry
          Issue Type: Bug
          Components: Framework
    Affects Versions: 4.1.3
            Reporter: Pino Navato
            Priority: Minor


A comment marker preceded by white spaces is not recognized as the start of a 
comment but Javadoc of java.util.Properties states that a comment can be 
preceded by white spaces: "A comment line has an ASCII '#' or '!' as its first 
non-white space character".

The bug can be fixed very simply: in the load() method just move up the 
following line of code

 _extendedReader.skipCharacters(WHITESPACE);

so that it is the first line in the while loop.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to