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

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development