Uploaded image for project: 'Commons Lang'
  1. Commons Lang
  2. LANG-264

ToStringBuilder/HashCodeBuilder javadoc code examples

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 2.2
    • None
    • 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.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            trippcr Corey Tripp
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: