Fixed Javadocs for setTestRecursive() (#556)

This commit is contained in:
Miguel Muñoz 2020-06-24 05:46:21 -07:00 committed by GitHub
parent dc54284ee7
commit a7be33e9c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 2 deletions

View File

@ -245,9 +245,12 @@ public EqualsBuilder setTestTransients(final boolean testTransients) {
}
/**
* Set whether to include transient fields when reflectively comparing objects.
* @param testRecursive whether to do a recursive test
* Set whether to test fields recursively, instead of using their equals method, when reflectively comparing objects.
* String objects, which cache a hash value, are automatically excluded from recursive testing.
* You may specify other exceptions by calling {@link #setBypassReflectionClasses(List)}.
* @param testRecursive whether to do a recursive test
* @return EqualsBuilder - used to chain calls.
* @see #setBypassReflectionClasses(List)
* @since 3.6
*/
public EqualsBuilder setTestRecursive(final boolean testRecursive) {
@ -265,6 +268,7 @@ public EqualsBuilder setTestRecursive(final boolean testRecursive) {
* your own set of classes here, remember to include {@code String} class, too.</p>
* @param bypassReflectionClasses classes to bypass reflection test
* @return EqualsBuilder - used to chain calls.
* @see #setTestRecursive(boolean)
* @since 3.8
*/
public EqualsBuilder setBypassReflectionClasses(final List<Class<?>> bypassReflectionClasses) {