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

Matthew Swift
09.58.2013 7a85bc0f0921a4ba5b4acb4b7d98b2e0d7962461
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
opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/controls/PersistentSearchChangeType.java 7 ●●●●● patch | view | raw | blame | history
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;
    }
}