commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (LANG-832) FastDateParser does not handle unterminated quotes correctly
Date Thu, 27 Sep 2012 00:57:07 GMT

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

Sebb resolved LANG-832.
-----------------------

       Resolution: Fixed
    Fix Version/s: 3.2

URL: http://svn.apache.org/viewvc?rev=1390795&view=rev
Log:
LANG-832 FastDateParser does not handle unterminated quotes correctly

Modified:
    commons/proper/lang/trunk/src/changes/changes.xml
    commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/time/FastDateParser.java
    commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/time/FastDateParserTest.java
                
> FastDateParser does not handle unterminated quotes correctly
> ------------------------------------------------------------
>
>                 Key: LANG-832
>                 URL: https://issues.apache.org/jira/browse/LANG-832
>             Project: Commons Lang
>          Issue Type: Bug
>            Reporter: Sebb
>             Fix For: 3.2
>
>
> FDP does not handled unterminated quotes the same way as SimpleDateFormat
> For example:
> Format: 'd'd'
> Date: d3
> This should fail to parse the format and date but it actually works.
> The format is parsed as:
> Pattern: d(\p{IsNd}++)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message