You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Alexander Lorenz-Alten (Reopened) (JIRA)" <ji...@apache.org> on 2012/03/07 19:56:57 UTC
[jira] [Reopened] (FLUME-236) Builders shouldn't just rely on
Boolean.parseBoolean.
[ https://issues.apache.org/jira/browse/FLUME-236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexander Lorenz-Alten reopened FLUME-236:
------------------------------------------
> Builders shouldn't just rely on Boolean.parseBoolean.
> ------------------------------------------------------
>
> Key: FLUME-236
> URL: https://issues.apache.org/jira/browse/FLUME-236
> Project: Flume
> Issue Type: Bug
> Affects Versions: v0.9.0, v0.9.1
> Reporter: Jonathan Hsieh
> Fix For: v0.9.5
>
>
> The semantics of parseBoolean (http://download-llnw.oracle.com/javase/6/docs/api/java/lang/Boolean.html#booleanValue()) says that and string is parsable as a boolean.
> So Boolean.parseBoolean("yes") = false;
> This may cause unexpected results for the user.
--
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