From e1ea3e0d8999105f144d2be98e0286928b8319ed Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Tue, 03 Apr 2007 18:52:11 +0000
Subject: [PATCH] Add initial support for a virtual attribute subsystem, and implement a few different kinds of virtual attributes. This commit addresses the following issues:
---
opends/src/server/org/opends/server/backends/task/TaskScheduler.java | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/opends/src/server/org/opends/server/backends/task/TaskScheduler.java b/opends/src/server/org/opends/server/backends/task/TaskScheduler.java
index 3294a46..4e0ecc4 100644
--- a/opends/src/server/org/opends/server/backends/task/TaskScheduler.java
+++ b/opends/src/server/org/opends/server/backends/task/TaskScheduler.java
@@ -1360,7 +1360,7 @@
*/
public Entry getTaskRootEntry()
{
- return taskRootEntry;
+ return taskRootEntry.duplicate(true);
}
@@ -1374,7 +1374,7 @@
*/
public Entry getScheduledTaskParentEntry()
{
- return scheduledTaskParentEntry;
+ return scheduledTaskParentEntry.duplicate(true);
}
@@ -1388,7 +1388,7 @@
*/
public Entry getRecurringTaskParentEntry()
{
- return recurringTaskParentEntry;
+ return recurringTaskParentEntry.duplicate(true);
}
@@ -1540,7 +1540,7 @@
if (scheduledTaskEntryDN.equals(taskEntry.getDN()))
{
- return taskEntry;
+ return taskEntry.duplicate(true);
}
}
@@ -1586,7 +1586,7 @@
try
{
- Entry e = t.getTaskEntry();
+ Entry e = t.getTaskEntry().duplicate(true);
if (filter.matchesEntry(e))
{
if (! searchOperation.returnEntry(e, null))
@@ -1691,7 +1691,7 @@
if (recurringTaskEntryDN.equals(recurringTaskEntry.getDN()))
{
- return recurringTaskEntry;
+ return recurringTaskEntry.duplicate(true);
}
}
@@ -1737,7 +1737,7 @@
try
{
- Entry e = rt.getRecurringTaskEntry();
+ Entry e = rt.getRecurringTaskEntry().duplicate(true);
if (filter.matchesEntry(e))
{
if (! searchOperation.returnEntry(e, null))
--
Gitblit v1.10.0