From 3d4c0acccda6e62b23f248d75c1cc6721fc20bdf Mon Sep 17 00:00:00 2001
From: Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Tue, 07 Jun 2016 13:51:21 +0000
Subject: [PATCH] OPENDJ-3037 inlined DirectoryServer.getAttributeType(String)
---
opendj-server-legacy/src/main/java/org/opends/server/tasks/BackupTask.java | 20 ++++++++++----------
1 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/server/tasks/BackupTask.java b/opendj-server-legacy/src/main/java/org/opends/server/tasks/BackupTask.java
index 5edf8ca..c624737 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/tasks/BackupTask.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/tasks/BackupTask.java
@@ -137,16 +137,16 @@
Entry taskEntry = getTaskEntry();
- AttributeType typeBackupAll = getAttributeType(ATTR_TASK_BACKUP_ALL);
- AttributeType typeCompress = getAttributeType(ATTR_TASK_BACKUP_COMPRESS);
- AttributeType typeEncrypt = getAttributeType(ATTR_TASK_BACKUP_ENCRYPT);
- AttributeType typeHash = getAttributeType(ATTR_TASK_BACKUP_HASH);
- AttributeType typeIncremental = getAttributeType(ATTR_TASK_BACKUP_INCREMENTAL);
- AttributeType typeSignHash = getAttributeType(ATTR_TASK_BACKUP_SIGN_HASH);
- AttributeType typeBackendID = getAttributeType(ATTR_TASK_BACKUP_BACKEND_ID);
- AttributeType typeBackupID = getAttributeType(ATTR_BACKUP_ID);
- AttributeType typeBackupDirectory = getAttributeType(ATTR_BACKUP_DIRECTORY_PATH);
- AttributeType typeIncrementalBaseID = getAttributeType(ATTR_TASK_BACKUP_INCREMENTAL_BASE_ID);
+ AttributeType typeBackupAll = getSchema().getAttributeType(ATTR_TASK_BACKUP_ALL);
+ AttributeType typeCompress = getSchema().getAttributeType(ATTR_TASK_BACKUP_COMPRESS);
+ AttributeType typeEncrypt = getSchema().getAttributeType(ATTR_TASK_BACKUP_ENCRYPT);
+ AttributeType typeHash = getSchema().getAttributeType(ATTR_TASK_BACKUP_HASH);
+ AttributeType typeIncremental = getSchema().getAttributeType(ATTR_TASK_BACKUP_INCREMENTAL);
+ AttributeType typeSignHash = getSchema().getAttributeType(ATTR_TASK_BACKUP_SIGN_HASH);
+ AttributeType typeBackendID = getSchema().getAttributeType(ATTR_TASK_BACKUP_BACKEND_ID);
+ AttributeType typeBackupID = getSchema().getAttributeType(ATTR_BACKUP_ID);
+ AttributeType typeBackupDirectory = getSchema().getAttributeType(ATTR_BACKUP_DIRECTORY_PATH);
+ AttributeType typeIncrementalBaseID = getSchema().getAttributeType(ATTR_TASK_BACKUP_INCREMENTAL_BASE_ID);
backUpAll = TaskUtils.getBoolean(taskEntry.getAttribute(typeBackupAll), false);
compress = TaskUtils.getBoolean(taskEntry.getAttribute(typeCompress), false);
--
Gitblit v1.10.0