commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From britter <...@git.apache.org>
Subject [GitHub] commons-lang pull request #343: LANG-1341 update java doc to clarify use cas...
Date Mon, 20 Aug 2018 17:22:08 GMT
Github user britter commented on a diff in the pull request:

    https://github.com/apache/commons-lang/pull/343#discussion_r211341588
  
    --- Diff: src/main/java/org/apache/commons/lang3/builder/EqualsBuilder.java ---
    @@ -58,14 +58,17 @@
      *   }
      *   MyClass rhs = (MyClass) obj;
      *   return new EqualsBuilder()
    - *                 .appendSuper(super.equals(obj))
      *                 .append(field1, rhs.field1)
      *                 .append(field2, rhs.field2)
      *                 .append(field3, rhs.field3)
      *                 .isEquals();
      *  }
      * </pre>
      *
    + * <p>
    + * If required, the superclass <code>appendSuper()</code> can be added using
{@link #appendSuper}.
    --- End diff --
    
    Better use a JavaDoc Link here: `{@link #appendSuper(boolean)}`


---

Mime
View raw message