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

Jean-Noël Rouvignac
28.53.2016 5c1781321a571986f9a1f4fcdf3e332076ee4c83
opendj-server-legacy/src/test/java/org/opends/server/schema/FakeEntryIndex.java
@@ -38,6 +38,7 @@
import java.util.TreeSet;
import org.forgerock.opendj.ldap.Assertion;
import org.forgerock.opendj.ldap.AttributeDescription;
import org.forgerock.opendj.ldap.ByteString;
import org.forgerock.opendj.ldap.DecodeException;
import org.forgerock.opendj.ldap.schema.AttributeType;
@@ -80,7 +81,7 @@
  void add(Entry entry) throws DecodeException
  {
    Attribute attribute = entry.getExactAttribute(attrType, Collections.<String>emptySet());
    Attribute attribute = entry.getExactAttribute(AttributeDescription.create(attrType));
    for (ByteString key : index(attribute))
    {
      Set<Entry> entries = index.get(key);