NIFI-1771 deprecated ObjectHolder

This closes #351.

Signed-off-by: Andy LoPresto <alopresto@apache.org>
This commit is contained in:
Oleg Zhurakousky 2016-04-14 09:19:18 -04:00 committed by Andy LoPresto
parent 5b2490f1e8
commit 13488fd9b3
No known key found for this signature in database
GPG Key ID: 3C6EF65B2F7DEF69
1 changed files with 7 additions and 1 deletions

View File

@ -16,10 +16,16 @@
*/ */
package org.apache.nifi.util; 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<T> { public class ObjectHolder<T> {
private T value; private T value;