This commit is contained in:
Gary Gregory 2021-02-10 17:20:02 -05:00
commit 038f304474
7 changed files with 16 additions and 16 deletions

View File

@ -213,11 +213,11 @@ public class EqualsBuilder implements Builder<Boolean> {
*/
private boolean isEquals = true;
private boolean testTransients = false;
private boolean testRecursive = false;
private boolean testTransients;
private boolean testRecursive;
private List<Class<?>> bypassReflectionClasses;
private Class<?> reflectUpToClass = null;
private String[] excludeFields = null;
private Class<?> reflectUpToClass;
private String[] excludeFields;
/**
* <p>Constructor for EqualsBuilder.</p>

View File

@ -536,7 +536,7 @@ public class HashCodeBuilder implements Builder<Integer> {
/**
* Running total of the hashCode.
*/
private int iTotal = 0;
private int iTotal;
/**
* <p>

View File

@ -441,12 +441,12 @@ public class ReflectionToStringBuilder extends ToStringBuilder {
/**
* Whether or not to append static fields.
*/
private boolean appendStatics = false;
private boolean appendStatics;
/**
* Whether or not to append transient fields.
*/
private boolean appendTransients = false;
private boolean appendTransients;
/**
* Whether or not to append fields that are null.
@ -463,7 +463,7 @@ public class ReflectionToStringBuilder extends ToStringBuilder {
/**
* The last super class to stop appending fields for.
*/
private Class<?> upToClass = null;
private Class<?> upToClass;
/**
* <p>

View File

@ -263,7 +263,7 @@ public abstract class ToStringStyle implements Serializable {
/**
* Whether to use short class names, the default is {@code false}.
*/
private boolean useShortClassName = false;
private boolean useShortClassName;
/**
* Whether to use the identity hash code, the default is {@code true}.
@ -288,12 +288,12 @@ public abstract class ToStringStyle implements Serializable {
/**
* Whether the field separator should be added before any other fields.
*/
private boolean fieldSeparatorAtStart = false;
private boolean fieldSeparatorAtStart;
/**
* Whether the field separator should be added after any other fields.
*/
private boolean fieldSeparatorAtEnd = false;
private boolean fieldSeparatorAtEnd;
/**
* The field separator {@code ','}.

View File

@ -104,15 +104,15 @@ public final class Fraction extends Number implements Comparable<Fraction> {
/**
* Cached output hashCode (class is immutable).
*/
private transient int hashCode = 0;
private transient int hashCode;
/**
* Cached output toString (class is immutable).
*/
private transient String toString = null;
private transient String toString;
/**
* Cached output toProperString (class is immutable).
*/
private transient String toProperString = null;
private transient String toProperString;
/**
* <p>Constructs a {@code Fraction} instance with the 2 parts

View File

@ -173,7 +173,7 @@ public class StrSubstitutor {
/**
* Whether escapes should be preserved. Default is false;
*/
private boolean preserveEscapes = false;
private boolean preserveEscapes;
//-----------------------------------------------------------------------
/**

View File

@ -126,7 +126,7 @@ public class StrTokenizer implements ListIterator<String>, Cloneable {
private StrMatcher trimmerMatcher = StrMatcher.noneMatcher();
/** Whether to return empty tokens as null */
private boolean emptyAsNull = false;
private boolean emptyAsNull;
/** Whether to ignore empty tokens */
private boolean ignoreEmptyTokens = true;