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

vharseko
09.00.2018 4ec8f662008db54392753c689dbd2f813b351b02
opendj-dsml-servlet/src/main/java/org/opends/dsml/protocol/DSMLSearchOperation.java
@@ -277,7 +277,7 @@
  private static LDAPFilter createSubstringFilter(SubstringFilter sf)
        throws LDAPException, IOException
  {
    List<Object> anyo = sf.getAny();
    List<String> anyo = sf.getAny();
    ArrayList<ByteString> subAnyElements = new ArrayList<>(anyo.size());
    for (Object o : anyo)
@@ -555,11 +555,11 @@
            DsmlAttr dsmlAttr = objFactory.createDsmlAttr();
            dsmlAttr.setName(nm);
            List<Object> dsmlAttrVal = dsmlAttr.getValue();
            List<String> dsmlAttrVal = dsmlAttr.getValue();
            List<ByteString> vals = attr.getValues();
            for (ByteString val : vals)
            {
              dsmlAttrVal.add(ByteStringUtility.convertByteString(val));
              dsmlAttrVal.add(ByteStringUtility.convertByteString(val).toString());
            }
            attrList.add(dsmlAttr);
          }