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

Jean-Noël Rouvignac
01.00.2015 6f1a7f89a2bc9812c61f71d282ead3299556f876
opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/DN2URI.java
@@ -684,16 +684,8 @@
    return new SearchResultReference(URIList);
  }
  ByteString toKey(DN dn)
  private ByteString toKey(DN dn)
  {
    return DnKeyFormat.dnToDNKey(dn, prefixRDNComponents);
  }
  ByteSequence toValue(DN dn, Entry entry)
  {
    // FIXME JNR This is not very efficient:
    // getReferralsURL() converts from bytestring into string
    // and the code down below then does the reverse
    return encode(dn, entry.getReferralURLs());
  }
}