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

Nicolas Capponi
23.07.2013 62c3b0be396c487745f347eb2b4db912deb082f3
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) {