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

Matthew Swift
08.58.2016 9cfc08902f5d1a22f4f5436b0facc8c047d45ed6
opendj-rest2ldap/src/main/java/org/forgerock/opendj/rest2ldap/SubResourceCollection.java
@@ -177,7 +177,7 @@
     * @return A reference to this object.
     */
    public SubResourceCollection dnTemplate(final String dnTemplate) {
        this.dnTemplate = dnTemplate;
        this.dnTemplateString = dnTemplate;
        return this;
    }
@@ -257,7 +257,7 @@
    private SubResourceImpl collection(final Context context) {
        return new SubResourceImpl(rest2Ldap,
                                   dnFrom(context),
                                   dnTemplate.isEmpty() ? null : glueObjectClasses,
                                   dnTemplateString.isEmpty() ? null : glueObjectClasses,
                                   namingStrategy,
                                   resource);
    }