You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by ma...@apache.org on 2016/07/14 13:32:55 UTC
[3/6] nifi git commit: NIFI-1307 removed deprecation indication for
getId and provided better API documentation
NIFI-1307 removed deprecation indication for getId and provided better API documentation
Project: http://git-wip-us.apache.org/repos/asf/nifi/repo
Commit: http://git-wip-us.apache.org/repos/asf/nifi/commit/4c9d4655
Tree: http://git-wip-us.apache.org/repos/asf/nifi/tree/4c9d4655
Diff: http://git-wip-us.apache.org/repos/asf/nifi/diff/4c9d4655
Branch: refs/heads/master
Commit: 4c9d4655a84ab4d308fcd7234fbdd8942e71e403
Parents: 6e5e4cf
Author: joewitt <jo...@apache.org>
Authored: Wed Jul 13 18:42:10 2016 -0400
Committer: Mark Payne <ma...@hotmail.com>
Committed: Thu Jul 14 09:32:34 2016 -0400
----------------------------------------------------------------------
.../main/java/org/apache/nifi/flowfile/FlowFile.java | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/nifi/blob/4c9d4655/nifi-api/src/main/java/org/apache/nifi/flowfile/FlowFile.java
----------------------------------------------------------------------
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 43fbf20..9063a8f 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<FlowFile> {
/**
- * @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();
/**