incubator-odf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Devin Han (Closed) (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (ODFTOOLKIT-295) Exit condition of Length.parseUnit in ODFDOM is wrong
Date Tue, 08 Nov 2011 08:08:51 GMT

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

Devin Han closed ODFTOOLKIT-295.
--------------------------------

    
> Exit condition of Length.parseUnit in ODFDOM is wrong
> -----------------------------------------------------
>
>                 Key: ODFTOOLKIT-295
>                 URL: https://issues.apache.org/jira/browse/ODFTOOLKIT-295
>             Project: ODF Toolkit
>          Issue Type: Bug
>          Components: odfdom
>            Reporter: Oliver Rau
>            Assignee: Devin Han
>         Attachments: DataTypeTest.java.patch, Length.patch
>
>
> The exit condition of the method org.odftoolkit.odfdom.type.Length.parseUnit(String)
is incorrect. An exception is thrown after iterating over the first Unit instead of being
thrown after iterating over all types and not having a match.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message