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

Matthew Swift
22.52.2012 139d572584d8fe12a0f1bee2f3aeb73710685bbe
opendj3/opendj-rest2ldap/src/main/java/org/forgerock/opendj/rest2ldap/ConstantAttributeMapper.java
@@ -63,9 +63,7 @@
    public void toJson(final ServerContext c, final Entry e,
            final ResultHandler<Map<String, Object>> h) {
        // FIXME: how do we know if the user requested it???
        final Map<String, Object> result = Collections.singletonMap(jsonAttributeName,
                jsonAttributeValue);
        h.handleResult(result);
        h.handleResult(Collections.singletonMap(jsonAttributeName, jsonAttributeValue));
    }