From 4c9d4655a84ab4d308fcd7234fbdd8942e71e403 Mon Sep 17 00:00:00 2001 From: joewitt Date: Wed, 13 Jul 2016 18:42:10 -0400 Subject: [PATCH] NIFI-1307 removed deprecation indication for getId and provided better API documentation --- .../main/java/org/apache/nifi/flowfile/FlowFile.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/nifi-api/src/main/java/org/apache/nifi/flowfile/FlowFile.java b/nifi-api/src/main/java/org/apache/nifi/flowfile/FlowFile.java index 43fbf20054..9063a8f64c 100644 --- a/nifi-api/src/main/java/org/apache/nifi/flowfile/FlowFile.java +++ b/nifi-api/src/main/java/org/apache/nifi/flowfile/FlowFile.java @@ -30,13 +30,13 @@ import java.util.Set; public interface FlowFile extends Comparable { /** - * @return the unique identifier for this flow file - * @deprecated This method has been deprecated in favor of using the attribute - * {@link org.apache.nifi.flowfile.attributes.CoreAttributes.UUID CoreAttributes.UUID}. - * If an identifier is needed use {@link #getAttribute(String)} to retrieve the value for this attribute. - * For example, by calling getAttribute(CoreAttributes.UUID.getKey()). + * @return the unique identifier for this flow file which is guaranteed + * to be unique within a single running instance of nifi. This identifier + * should not be used for true universal unique type needs. For that consider + * using the attribute found in the flow file's attribute map keyed by + * {@link org.apache.nifi.flowfile.attributes.CoreAttributes.UUID CoreAttributes.UUID}. + * For example, by calling getAttribute(CoreAttributes.UUID.getKey()). */ - @Deprecated long getId(); /**