StyledString.equals must specify behavior for null input parameter

XMLWordPrintable

    • Type: Bug
    • Resolution: Cannot Reproduce
    • Priority: P4
    • None
    • Affects Version/s: 1.2.0
    • Component/s: docs
    • generic
    • solaris_2.5

      By convention, a null input parameter will result in a method throwing a
      NullPointerException. StyledString.equals(null) returns false and does not
      throw an exception. This behavior is acceptable, but must be documented since
      is does not follow the default convention. Suggest add to the javadoc a
      sentence such as:

      "Returns false for all other inputs."

            Assignee:
            Alan Sommerer (Inactive)
            Reporter:
            Steve Fleming (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: