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

vharseko
10.46.2018 0c33447547f57f1cc67830fcc80797f8e40c81d0
incompatible types: java.util.List<java.lang.Object> cannot be converted
to java.util.List<java.lang.String>
2 files modified
6 ■■■■ changed files
opendj-dsml-servlet/src/main/java/org/opends/dsml/protocol/DSMLAddOperation.java 2 ●●● patch | view | raw | blame | history
opendj-dsml-servlet/src/main/java/org/opends/dsml/protocol/DSMLSearchOperation.java 4 ●●●● patch | view | raw | blame | history
opendj-dsml-servlet/src/main/java/org/opends/dsml/protocol/DSMLAddOperation.java
@@ -87,7 +87,7 @@
    for(DsmlAttr attr : addList)
    {
      ArrayList<ByteString> values = new ArrayList<>();
      List<String> vals = attr.getValue();
      List vals = attr.getValue();
      for(Object val : vals)
      {
        values.add(ByteStringUtility.convertValue(val));
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<String> anyo = sf.getAny();
    List anyo = sf.getAny();
    ArrayList<ByteString> subAnyElements = new ArrayList<>(anyo.size());
    for (Object o : anyo)
@@ -555,7 +555,7 @@
            DsmlAttr dsmlAttr = objFactory.createDsmlAttr();
            dsmlAttr.setName(nm);
            List<String> dsmlAttrVal = dsmlAttr.getValue();
            List dsmlAttrVal = dsmlAttr.getValue();
            List<ByteString> vals = attr.getValues();
            for (ByteString val : vals)
            {