mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Jean-Noel Rouvignac
21.43.2014 308ce712c042325574ec52a1b403b777ac1b81d8
Autorefactored removing default values for field initializers
11 files modified
47 ■■■■ changed files
opendj-config/src/main/java/org/forgerock/opendj/config/AbsoluteInheritedDefaultBehaviorProvider.java 2 ●●● patch | view | raw | blame | history
opendj-config/src/main/java/org/forgerock/opendj/config/AggregationPropertyDefinition.java 4 ●●●● patch | view | raw | blame | history
opendj-config/src/main/java/org/forgerock/opendj/config/ConfigurationFramework.java 5 ●●●●● patch | view | raw | blame | history
opendj-config/src/main/java/org/forgerock/opendj/config/DNPropertyDefinition.java 6 ●●●●● patch | view | raw | blame | history
opendj-config/src/main/java/org/forgerock/opendj/config/DurationPropertyDefinition.java 8 ●●●● patch | view | raw | blame | history
opendj-config/src/main/java/org/forgerock/opendj/config/InstantiableRelationDefinition.java 2 ●●● patch | view | raw | blame | history
opendj-config/src/main/java/org/forgerock/opendj/config/IntegerPropertyDefinition.java 6 ●●●● patch | view | raw | blame | history
opendj-config/src/main/java/org/forgerock/opendj/config/OptionalRelationDefinition.java 2 ●●● patch | view | raw | blame | history
opendj-config/src/main/java/org/forgerock/opendj/config/SingletonRelationDefinition.java 2 ●●● patch | view | raw | blame | history
opendj-config/src/main/java/org/forgerock/opendj/config/SizePropertyDefinition.java 6 ●●●● patch | view | raw | blame | history
opendj-config/src/main/java/org/forgerock/opendj/config/StringPropertyDefinition.java 4 ●●●● patch | view | raw | blame | history
opendj-config/src/main/java/org/forgerock/opendj/config/AbsoluteInheritedDefaultBehaviorProvider.java
@@ -36,7 +36,7 @@
public final class AbsoluteInheritedDefaultBehaviorProvider<T> extends DefaultBehaviorProvider<T> {
    /** The absolute path to the managed object containing the property. */
    private ManagedObjectPath<?, ?> path = null;
    private ManagedObjectPath<?, ?> path;
    /**
     * The string representation of the managed object path specifying
opendj-config/src/main/java/org/forgerock/opendj/config/AggregationPropertyDefinition.java
@@ -121,13 +121,13 @@
         * The string representation of the managed object path specifying
         * the parent of the aggregated managed objects.
         */
        private String parentPathString = null;
        private String parentPathString;
        /**
         * The name of a relation in the parent managed object which
         * contains the aggregated managed objects.
         */
        private String rdName = null;
        private String rdName;
        /**
         * The condition which is used to determine if a referenced
opendj-config/src/main/java/org/forgerock/opendj/config/ConfigurationFramework.java
@@ -169,10 +169,9 @@
     * We contain a reference to the URLClassLoader rather than
     * sub-class it so that it is possible to replace the loader at
     * run-time. For example, when removing or replacing extension Jar
     * files (the URLClassLoader only supports adding new
     * URLs, not removal).
     * files (the URLClassLoader only supports adding new URLs, not removal).
     */
    private MyURLClassLoader loader = null;
    private MyURLClassLoader loader;
    private boolean isClient = true;
    private String installPath;
opendj-config/src/main/java/org/forgerock/opendj/config/DNPropertyDefinition.java
@@ -43,16 +43,14 @@
     */
    private final DN baseDN;
    /**
     * An interface for incrementally constructing DN property definitions.
     */
    /** An interface for incrementally constructing DN property definitions. */
    public static final class Builder extends AbstractBuilder<DN, DNPropertyDefinition> {
        /**
         * Optional base DN which all valid values must be immediately
         * subordinate to.
         */
        private DN baseDN = null;
        private DN baseDN;
        /** Private constructor. */
        private Builder(AbstractManagedObjectDefinition<?, ?> d, String propertyName) {
opendj-config/src/main/java/org/forgerock/opendj/config/DurationPropertyDefinition.java
@@ -90,20 +90,20 @@
        private DurationUnit baseUnit = DurationUnit.SECONDS;
        /** The optional maximum unit for this property definition. */
        private DurationUnit maximumUnit = null;
        private DurationUnit maximumUnit;
        /** The lower limit of the property value in milli-seconds. */
        private long lowerLimit = 0L;
        private long lowerLimit;
        /** The optional upper limit of the property value in milli-seconds. */
        private Long upperLimit = null;
        private Long upperLimit;
        /**
         * Indicates whether this property allows the use of the
         * "unlimited" duration value (represented using a -1L or the
         * string "unlimited").
         */
        private boolean allowUnlimited = false;
        private boolean allowUnlimited;
        /** Private constructor. */
        private Builder(AbstractManagedObjectDefinition<?, ?> d, String propertyName) {
opendj-config/src/main/java/org/forgerock/opendj/config/InstantiableRelationDefinition.java
@@ -65,7 +65,7 @@
        AbstractBuilder<C, S, InstantiableRelationDefinition<C, S>> {
        /** The optional naming property definition. */
        private PropertyDefinition<?> namingPropertyDefinition = null;
        private PropertyDefinition<?> namingPropertyDefinition;
        /** The plural name of the relation. */
        private final String pluralName;
opendj-config/src/main/java/org/forgerock/opendj/config/IntegerPropertyDefinition.java
@@ -64,16 +64,16 @@
    public static final class Builder extends AbstractBuilder<Integer, IntegerPropertyDefinition> {
        /** The lower limit of the property value. */
        private int lowerLimit = 0;
        private int lowerLimit;
        /** The optional upper limit of the property value. */
        private Integer upperLimit = null;
        private Integer upperLimit;
        /**
         * Indicates whether this property allows the use of the "unlimited" value
         * (represented using a -1 or the string "unlimited").
         */
        private boolean allowUnlimited = false;
        private boolean allowUnlimited;
        /** Private constructor. */
        private Builder(AbstractManagedObjectDefinition<?, ?> d, String propertyName) {
opendj-config/src/main/java/org/forgerock/opendj/config/OptionalRelationDefinition.java
@@ -59,7 +59,7 @@
         * The optional default managed object associated with this
         * optional relation.
         */
        private DefaultManagedObject<? extends C, ? extends S> defaultManagedObject = null;
        private DefaultManagedObject<? extends C, ? extends S> defaultManagedObject;
        /**
         * Creates a new builder which can be used to incrementally build an
opendj-config/src/main/java/org/forgerock/opendj/config/SingletonRelationDefinition.java
@@ -59,7 +59,7 @@
         * The optional default managed object associated with this
         * singleton relation.
         */
        private DefaultManagedObject<? extends C, ? extends S> defaultManagedObject = null;
        private DefaultManagedObject<? extends C, ? extends S> defaultManagedObject;
        /**
         * Creates a new builder which can be used to incrementally build an
opendj-config/src/main/java/org/forgerock/opendj/config/SizePropertyDefinition.java
@@ -63,16 +63,16 @@
    public static final class Builder extends AbstractBuilder<Long, SizePropertyDefinition> {
        /** The lower limit of the property value in bytes. */
        private long lowerLimit = 0L;
        private long lowerLimit;
        /** The optional upper limit of the property value in bytes. */
        private Long upperLimit = null;
        private Long upperLimit;
        /**
         * Indicates whether this property allows the use of the "unlimited" memory
         * size value (represented using a -1L or the string "unlimited").
         */
        private boolean allowUnlimited = false;
        private boolean allowUnlimited;
        /** Private constructor. */
        private Builder(AbstractManagedObjectDefinition<?, ?> d, String propertyName) {
opendj-config/src/main/java/org/forgerock/opendj/config/StringPropertyDefinition.java
@@ -54,13 +54,13 @@
        private boolean isCaseInsensitive = true;
        /** Optional pattern which values of this property must match. */
        private Pattern pattern = null;
        private Pattern pattern;
        /**
         * Pattern usage which provides a user-friendly summary of the
         * pattern if present.
         */
        private String patternUsage = null;
        private String patternUsage;
        /** Private constructor. */
        private Builder(AbstractManagedObjectDefinition<?, ?> d, String propertyName) {