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

Jean-Noel Rouvignac
08.48.2015 a89f7014aeb71dba5c94404dfea7eb89e7eeee74
opendj-server-legacy/src/main/java/org/opends/server/plugins/LastModPlugin.java
@@ -164,7 +164,7 @@
      builder.add(creatorDN.toString());
    }
    Attribute nameAttr = builder.toAttribute();
    ArrayList<Attribute> nameList = new ArrayList<Attribute>(1);
    ArrayList<Attribute> nameList = new ArrayList<>(1);
    nameList.add(nameAttr);
    addOperation.setAttribute(creatorsNameType, nameList);
@@ -172,7 +172,7 @@
    //  Create the attribute list for the createTimestamp attribute.
    Attribute timeAttr = Attributes.create(createTimestampType,
        OP_ATTR_CREATE_TIMESTAMP, getGMTTime());
    ArrayList<Attribute> timeList = new ArrayList<Attribute>(1);
    ArrayList<Attribute> timeList = new ArrayList<>(1);
    timeList.add(timeAttr);
    addOperation.setAttribute(createTimestampType, timeList);