hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsuyoshi OZAWA (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-3182) Cleanup switch statement in ApplicationMasterLauncher#handle()
Date Fri, 13 Feb 2015 05:23:12 GMT

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

Tsuyoshi OZAWA updated YARN-3182:
---------------------------------
    Fix Version/s: 2.7.0

> Cleanup switch statement in ApplicationMasterLauncher#handle()
> --------------------------------------------------------------
>
>                 Key: YARN-3182
>                 URL: https://issues.apache.org/jira/browse/YARN-3182
>             Project: Hadoop YARN
>          Issue Type: Improvement
>    Affects Versions: 2.6.0
>            Reporter: Ray Chiang
>            Assignee: Ray Chiang
>            Priority: Minor
>             Fix For: 2.7.0
>
>         Attachments: YARN-3182.001.patch
>
>
> The last case in the switch statement relies on the break coming from the default case
instead of having it's own break.  It's a bit dangerous for any future code modifications
in this section.



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

Mime
View raw message