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;