hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wei Yan (JIRA)" <j...@apache.org>
Subject [jira] [Created] (YARN-2195) Clean a piece of code in ResourceRequest
Date Mon, 23 Jun 2014 20:44:25 GMT
Wei Yan created YARN-2195:

             Summary: Clean a piece of code in ResourceRequest
                 Key: YARN-2195
                 URL: https://issues.apache.org/jira/browse/YARN-2195
             Project: Hadoop YARN
          Issue Type: Improvement
            Reporter: Wei Yan
            Assignee: Wei Yan
            Priority: Minor

if (numContainersComparison == 0) {
  return 0;
} else {
  return numContainersComparison;

This code should be cleaned as 
return numContainersComparison;

This message was sent by Atlassian JIRA

View raw message