opendj-server-legacy/src/main/java/org/opends/server/util/LDIFReader.java
@@ -1454,13 +1454,10 @@ for (String value : objectClasses.values()) { builder.add(value); } Map<AttributeType, List<Attribute>> attributes = toAttributesMap(attrBuilders); Map<AttributeType, List<Attribute>> attributes = toAttributesMap(attrBuilders); if (attributes.get(ocType) == null) { List<Attribute> ocAttrList = new ArrayList<>(1); ocAttrList.add(builder.toAttribute()); attributes.put(ocType, ocAttrList); attributes.put(ocType, builder.toAttributeList()); } return new AddChangeRecordEntry(entryDN, attributes);