Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.8.1, 3.0.0-alpha3
-
Reviewed
Description
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()))
Attachments
Issue Links
- links to