mirror of
https://github.com/google/nomulus
synced 2026-01-09 15:43:52 +00:00
Add an action to check the status of OT&E verification
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=228333195
This commit is contained in:
@@ -177,7 +177,7 @@ public class OteStats {
|
||||
}
|
||||
|
||||
/** Returns a more human-readable translation of the enum constant. */
|
||||
private String description() {
|
||||
public String getDescription() {
|
||||
return Ascii.toLowerCase(this.name().replace('_', ' '));
|
||||
}
|
||||
|
||||
@@ -270,7 +270,7 @@ public class OteStats {
|
||||
return String.format(
|
||||
"%s\nTOTAL: %d",
|
||||
EnumSet.allOf(StatType.class).stream()
|
||||
.map(stat -> String.format("%s: %d", stat.description(), statCounts.count(stat)))
|
||||
.map(stat -> String.format("%s: %d", stat.getDescription(), statCounts.count(stat)))
|
||||
.collect(Collectors.joining("\n")),
|
||||
statCounts.size());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user