Boole need a Boolean.parseBoolean(string)

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 1.2.2
    • Component/s: core-libs
    • generic
    • generic



      Name: rlT66838 Date: 07/13/99


      The definition of java.lang.Boolean.getBoolean as obtaining the boolean value of a *system property* is not at all intuitive. When I am looking for a method that returns information about system properties, I check java.lang.System, not java.lang.Boolean.
      When glancing at the API for java.lang.Boolean, a method defined as "getBoolean(string)" appears to take a string argument that will be converted to a boolean.

      The java.lang.Boolean.getBoolean method is more logically a method of java.lang.System.
      (Review ID: 85543)
      ======================================================================

            Assignee:
            William Maddox (Inactive)
            Reporter:
            Roger Lewis (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: