hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Templeton (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-6646) Modifier 'static' is redundant for inner enums less
Date Fri, 26 May 2017 18:08:04 GMT

    [ https://issues.apache.org/jira/browse/YARN-6646?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16026611#comment-16026611
] 

Daniel Templeton commented on YARN-6646:
----------------------------------------

Patch looks fine to me.  +1

> Modifier 'static' is redundant for inner enums less
> ---------------------------------------------------
>
>                 Key: YARN-6646
>                 URL: https://issues.apache.org/jira/browse/YARN-6646
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: 3.0.0-alpha3
>            Reporter: ZhangBing Lin
>            Assignee: ZhangBing Lin
>            Priority: Minor
>         Attachments: YARN-6646.001.patch
>
>
> Java enumeration type is a static constant, implicitly modified with static final,Modifier
'static' is redundant for inner enums less.So I suggest deleting the 'static' modifier.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org


Mime
View raw message