You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "Joe Mészáros (JIRA)" <ji...@apache.org> on 2015/10/01 14:20:26 UTC

[jira] [Updated] (NIFI-1016) Use centralized priority attribute name in PriorityAttributePrioritizer

     [ https://issues.apache.org/jira/browse/NIFI-1016?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joe Mészáros updated NIFI-1016:
-------------------------------
    Description: There is a special enum, {{CoreAttributes}}, containing the core attribute names of a flow file, like {{uuid}},{{path}} and {{priority}}. This enum is used by tons of other Java classes, and this issue suggests to use {{CoreAttributes.PRIORITY}} in {{PriorityAttributePrioritizer}}, instead of a local static String to avoid duplicates and possible misconceptions.  (was: There is a special enum, {{CoreAttributes}}, containing the core attribute names of a flow file, like {{uuid}},{{path}} and {{priority}}. This enum is used by tons of other Java classes, and this issue suggests to use CoreAttributes.PRIORITY in PriorityAttributePrioritizer, instead of a local static String to avoid duplicates and possible misconceptions.)

> Use centralized priority attribute name in PriorityAttributePrioritizer
> -----------------------------------------------------------------------
>
>                 Key: NIFI-1016
>                 URL: https://issues.apache.org/jira/browse/NIFI-1016
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Core Framework
>            Reporter: Joe Mészáros
>            Priority: Minor
>
> There is a special enum, {{CoreAttributes}}, containing the core attribute names of a flow file, like {{uuid}},{{path}} and {{priority}}. This enum is used by tons of other Java classes, and this issue suggests to use {{CoreAttributes.PRIORITY}} in {{PriorityAttributePrioritizer}}, instead of a local static String to avoid duplicates and possible misconceptions.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)