From 13488fd9b34dd8054e5d8c600dd20227263ccd7f Mon Sep 17 00:00:00 2001 From: Oleg Zhurakousky Date: Thu, 14 Apr 2016 09:19:18 -0400 Subject: [PATCH] NIFI-1771 deprecated ObjectHolder This closes #351. Signed-off-by: Andy LoPresto --- .../src/main/java/org/apache/nifi/util/ObjectHolder.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/nifi-commons/nifi-utils/src/main/java/org/apache/nifi/util/ObjectHolder.java b/nifi-commons/nifi-utils/src/main/java/org/apache/nifi/util/ObjectHolder.java index 12a887cf9b..c577d6f5cd 100644 --- a/nifi-commons/nifi-utils/src/main/java/org/apache/nifi/util/ObjectHolder.java +++ b/nifi-commons/nifi-utils/src/main/java/org/apache/nifi/util/ObjectHolder.java @@ -16,10 +16,16 @@ */ package org.apache.nifi.util; +import java.util.concurrent.atomic.AtomicReference; + /** - * A bean that holds a single value of type T. + * @deprecated As of release 0.7.0. Please use {@link AtomicReference} + * + * A bean that holds a single value of type T. * */ + +@Deprecated public class ObjectHolder { private T value;