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

Matthew Swift
09.58.2013 ec6301da2e2913c81e48b5bf94412d073fcec077
Fix OPENDJ-852: SDK should have PersistentSearchChangeType.all()

* exposed intValue method
* no need for all() method since applications should use EnumSet factory methods.
1 files modified
7 ■■■■■ changed files
opendj-sdk/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/controls/PersistentSearchChangeType.java 7 ●●●●● patch | view | raw | blame | history
opendj-sdk/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/controls/PersistentSearchChangeType.java
@@ -22,6 +22,7 @@
 *
 *
 *      Copyright 2010 Sun Microsystems, Inc.
 *      Portions copyright 2013 ForgeRock AS.
 */
package org.forgerock.opendj.ldap.controls;
@@ -61,7 +62,6 @@
    MODIFY_DN(8, "modifyDN");
    private final String name;
    private final int intValue;
    private PersistentSearchChangeType(final int intValue, final String name) {
@@ -78,11 +78,12 @@
    }
    /**
     * Returns the integer value for this change type.
     * Returns the integer value for this change type as defined in the internet
     * draft.
     *
     * @return The integer value for this change type.
     */
    int intValue() {
    public int intValue() {
        return intValue;
    }
}