Skip to content

Commit

Permalink
Don't show produces 0xPUs tooltip. (#11814)
Browse files Browse the repository at this point in the history
  • Loading branch information
asvitkine committed Jul 25, 2023
1 parent ac6b7f1 commit 3154454
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3468,10 +3468,14 @@ private static <T extends DefaultNamed> void addIntegerMapDescription(
sb.append(integerMap.totalValues());
} else {
for (final Entry<T, Integer> entry : integerMap.entrySet()) {
sb.append(entry.getValue()).append("x").append(entry.getKey().getName()).append(" ");
if (entry.getValue() != 0) {
sb.append(entry.getValue()).append("x").append(entry.getKey().getName()).append(" ");
}
}
}
formatter.append(key, sb.toString());
if (sb.length() > 0) {
formatter.append(key, sb.toString());
}
}
}

Expand Down

0 comments on commit 3154454

Please sign in to comment.