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

Jean-Noel Rouvignac
19.47.2015 2dc073d0f37048372498e13ffe84455896bac945
opendj-server-legacy/src/dsml/org/opends/dsml/protocol/DSMLModifyOperation.java
@@ -22,7 +22,7 @@
 *
 *
 *      Copyright 2006-2008 Sun Microsystems, Inc.
 *      Portions Copyright 2012-2014 ForgeRock AS.
 *      Portions Copyright 2012-2015 ForgeRock AS.
 */
package org.opends.dsml.protocol;
@@ -92,8 +92,7 @@
    LDAPResult modResponse = objFactory.createLDAPResult();
    modResponse.setRequestID(modifyRequest.getRequestID());
    ArrayList<RawModification> modifications =
         new ArrayList<RawModification> ();
    ArrayList<RawModification> modifications = new ArrayList<>();
    // Read the modification type from the DSML request.
    List<DsmlModification> mods = modifyRequest.getModification();
@@ -111,10 +110,9 @@
      // Read the attribute name and values.
      String attrType = attr.getName();
      ArrayList<ByteString> values = new ArrayList<ByteString> ();
      ArrayList<ByteString> values = new ArrayList<>();
      List<Object> vals = attr.getValue();
      for(Object val : vals)
      for (Object val : attr.getValue())
      {
        values.add(ByteStringUtility.convertValue(val));
      }