riyakhdl opened a new pull request, #4959:
URL: https://github.com/apache/hadoop/pull/4959

   [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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to