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

Steven Hawkins (JIRA) jira-events at lists.jboss.org
Sun Aug 30 17:51:23 EDT 2009


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

Steven Hawkins reopened TEIID-799:
----------------------------------



> String to boolean conversion should throw an exception
> ------------------------------------------------------
>
>                 Key: TEIID-799
>                 URL: https://jira.jboss.org/jira/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
>
>
> To be more inline with the sql spec.  The string to boolean conversion should throw an exception rather than using the default Boolean.valueOf method when the input string is not one of 0,1,TRUE,FALSE,UNKNOWN.  As it stands the method is inappropriately marked as non-narrowing and maps any non-true value to false.

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

        


More information about the teiid-issues mailing list