Skip to content

Commit

Permalink
Prefer immutable type as return type.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 501491397
Change-Id: Ia638878cb78db7b82aaa800ca82bbafeec0f4218
  • Loading branch information
meisterT authored and copybara-github committed Jan 12, 2023
1 parent 57c5ee3 commit f0ed5ca
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ void clear() {
}

// @ThreadSafe
Iterable<SlowTask> getSlowestTasks() {
ImmutableList<SlowTask> getSlowestTasks() {
// This is slow, but since it only happens during the end of the invocation, it's OK.
Extrema<SlowTask> mergedExtrema = Extrema.max(SIZE);
for (int i = 0; i < SHARDS; i++) {
Expand Down

0 comments on commit f0ed5ca

Please sign in to comment.