From d89c47e7cb1b3c9181e25582539aac1dedb46099 Mon Sep 17 00:00:00 2001
From: Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Mon, 08 Aug 2016 07:31:25 +0000
Subject: [PATCH] Partial OPENDJ-3106 Migrate Entry
---
opendj-server-legacy/src/main/java/org/opends/server/tasks/ShutdownTask.java | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/server/tasks/ShutdownTask.java b/opendj-server-legacy/src/main/java/org/opends/server/tasks/ShutdownTask.java
index 0d567fd..c091bca 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/tasks/ShutdownTask.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/tasks/ShutdownTask.java
@@ -75,7 +75,7 @@
shutdownMessage = INFO_TASK_SHUTDOWN_DEFAULT_MESSAGE.get(taskEntry.getName());
AttributeType attrType = DirectoryServer.getSchema().getAttributeType(ATTR_SHUTDOWN_MESSAGE);
- List<Attribute> attrList = taskEntry.getAttribute(attrType);
+ List<Attribute> attrList = taskEntry.getAllAttributes(attrType);
if (!attrList.isEmpty())
{
Attribute attr = attrList.get(0);
@@ -87,7 +87,7 @@
}
attrType = DirectoryServer.getSchema().getAttributeType(ATTR_RESTART_SERVER);
- attrList = taskEntry.getAttribute(attrType);
+ attrList = taskEntry.getAllAttributes(attrType);
if (!attrList.isEmpty())
{
Attribute attr = attrList.get(0);
--
Gitblit v1.10.0