Uploaded image for project: 'Flume'
  1. Flume
  2. FLUME-236

Builders shouldn't just rely on Boolean.parseBoolean.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 0.9.0, 0.9.1
    • 0.9.5
    • None
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jmhsieh Jonathan Hsieh
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: