From f7a98b019d743f118b93112235d1b8916c854343 Mon Sep 17 00:00:00 2001
From: Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Thu, 10 Mar 2016 10:23:52 +0000
Subject: [PATCH] Added tests for new MonitorData class

---
 opendj-server-legacy/src/main/java/org/opends/server/api/MonitorData.java |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/opendj-server-legacy/src/main/java/org/opends/server/api/MonitorData.java b/opendj-server-legacy/src/main/java/org/opends/server/api/MonitorData.java
index 8729922..47ac6fc 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/api/MonitorData.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/api/MonitorData.java
@@ -33,6 +33,7 @@
 import org.forgerock.opendj.ldap.schema.CoreSchema;
 import org.forgerock.opendj.ldap.schema.Syntax;
 import org.opends.server.types.Attribute;
+import org.opends.server.types.Attribute.RemoveOnceSwitchingAttributes;
 import org.opends.server.types.AttributeBuilder;
 import org.opends.server.types.Attributes;
 import org.opends.server.types.PublicAPI;
@@ -159,6 +160,8 @@
    * @param attrValues
    *          the attribute values
    */
+  @RemoveOnceSwitchingAttributes(comment = "once using the non immutable SDK's Attribute class, "
+      + "we can incrementally build an attribute by using the add(String attrName, Object attrValue) method")
   public void add(String attrName, Collection<?> attrValues)
   {
     AttributeBuilder builder = new AttributeBuilder(attrName);

--
Gitblit v1.10.0