Commons Lang
  1. Commons Lang
  2. LANG-264

ToStringBuilder/HashCodeBuilder javadoc code examples

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2
    • Component/s: None
    • Labels:
      None

      Description

      The example code illistrating the use of ToStringBuidler and HashCodeBuilder reference a 'smoker' field of the example Person class, however the field is actually named 'isSmoker'. They propably should match each other.

      1. ToStringBuilderComment.patch
        0.4 kB
        Corey Tripp
      2. HashCodeBuilderComment.patch
        0.5 kB
        Corey Tripp

        Activity

        Corey Tripp created issue -
        Corey Tripp made changes -
        Field Original Value New Value
        Attachment ToStringBuilderComment.patch [ 12335798 ]
        Corey Tripp made changes -
        Attachment HashCodeBuilderComment.patch [ 12335799 ]
        Henri Yandell made changes -
        Resolution Fixed [ 1 ]
        Fix Version/s 2.2 [ 12311702 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Henri Yandell made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Mark Thomas made changes -
        Workflow jira [ 12374267 ] Default workflow, editable Closed status [ 12602145 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Corey Tripp
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development