[teiid-issues] [JBoss JIRA] Closed: (TEIID-799) String to boolean conversion should not throw an exception

Steve Hawkins (JIRA) jira-events at lists.jboss.org
Thu Jun 10 21:11:39 EDT 2010


     [ https://jira.jboss.org/browse/TEIID-799?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Hawkins closed TEIID-799.
-------------------------------



> String to boolean conversion should not throw an exception
> ----------------------------------------------------------
>
>                 Key: TEIID-799
>                 URL: https://jira.jboss.org/browse/TEIID-799
>             Project: Teiid
>          Issue Type: Quality Risk
>          Components: Query Engine
>    Affects Versions: 6.0.0
>            Reporter: Steven Hawkins
>            Assignee: Steven Hawkins
>            Priority: Minor
>             Fix For: 6.2.0
>
>
> The string to boolean conversion should not throw an exception since that behavior is not easily ported to sources.  Instead both the number to boolean and the string to boolean conversion should rely on effective boolean value logic.  If the value is null, then null.  If the value is false ('0', 'false') then false, else true.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the teiid-issues mailing list