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

Jean-Noël Rouvignac
06.29.2016 08cb78a98bc35e0c625917d63de381b0093711f2
opendj-server-legacy/src/main/java/org/opends/server/backends/task/Task.java
@@ -824,7 +824,7 @@
      logMessages.add(messageString);
      final AttributeType type = DirectoryServer.getSchema().getAttributeType(ATTR_TASK_LOG_MESSAGES);
      final Attribute attr = taskEntry.getExactAttribute(AttributeDescription.create(type));
      final Attribute attr = taskEntry.getAttribute(AttributeDescription.create(type));
      final AttributeBuilder builder = attr != null ? new AttributeBuilder(attr) : new AttributeBuilder(type);
      builder.add(messageString);
      taskEntry.putAttribute(type, builder.toAttributeList());