You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Ray Chiang (JIRA)" <ji...@apache.org> on 2015/02/12 01:06:11 UTC
[jira] [Created] (YARN-3182) Cleanup switch statement in
ApplicationMasterLauncher#handle()
Ray Chiang created YARN-3182:
--------------------------------
Summary: Cleanup switch statement in ApplicationMasterLauncher#handle()
Key: YARN-3182
URL: https://issues.apache.org/jira/browse/YARN-3182
Project: Hadoop YARN
Issue Type: Improvement
Reporter: Ray Chiang
Assignee: Ray Chiang
Priority: Minor
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)