You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Andreas Andreou (JIRA)" <de...@tapestry.apache.org> on 2008/03/09 08:51:46 UTC

[jira] Updated: (TAPESTRY-1979) LocalizedPropertiesLoader doesn't handle whitespace before comments

     [ https://issues.apache.org/jira/browse/TAPESTRY-1979?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Andreou updated TAPESTRY-1979:
--------------------------------------

    Fix Version/s: 4.1.6
          Summary: LocalizedPropertiesLoader doesn't handle whitespace before comments  (was: EncodedPropertiesLoader doesn't handles comments correctly)

> LocalizedPropertiesLoader doesn't handle whitespace before comments
> -------------------------------------------------------------------
>
>                 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
>             Fix For: 4.1.6
>
>
> 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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org