riyakhdl opened a new pull request, #4960: URL: https://github.com/apache/hadoop/pull/4960
[YARN-6766](https://issues.apache.org/jira/browse/YARN-6766) Description of PR The various *AppsBlock classes are riddled with statements like: `.append(appInfo.getReservedVCores() == -1 ? "N/A" : String.valueOf(appInfo.getReservedVCores()))` The code would be much cleaner if there were a utility method for that operation, e.g.: `.append(printData(appInfo.getReservedCores()))` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org