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

Nicolas Capponi
23.07.2013 31506b2883b18260aa80b42b6599517e0437b3de
opendj-sdk/opendj-admin/src/test/java/org/opends/server/admin/server/AdminTestCaseUtils.java
@@ -72,12 +72,12 @@
    public static <S extends Configuration> S getConfiguration(ServerManagementContext context,
            AbstractManagedObjectDefinition<?, S> definition, Entry entry) throws ConfigException {
        try {
            ServerManagedObject<? extends S> mo = context.decode(getPath(definition), entry);
            ServerManagedObject<? extends S> managedObject = context.decode(getPath(definition), entry);
            // Ensure constraints are satisfied.
            mo.ensureIsUsable();
            managedObject.ensureIsUsable();
            return mo.getConfiguration();
            return managedObject.getConfiguration();
        } catch (DefinitionDecodingException e) {
            throw ConfigExceptionFactory.getInstance().createDecodingExceptionAdaptor(entry.getName(), e);
        } catch (ServerManagedObjectDecodingException e) {