Fix errorprone issues
IgnoredPureGetter, LenientFormatStringValidation, ProtocolBufferOrdinal, and ReturnValueIgnored. https://errorprone.info/bugpatterns Bug: 253827323 Test: RUN_ERROR_PRONE=true m javac-check Change-Id: Ib0a0335aa04b36924adcbfecc830b7392c0e5bec
This commit is contained in:
@@ -289,7 +289,7 @@ public final class Utils {
|
||||
}
|
||||
ThreadUtils.postOnBackgroundThread(() -> {
|
||||
for (Supplier<?> supplier : suppliers) {
|
||||
supplier.get();
|
||||
Object unused = supplier.get();
|
||||
}
|
||||
ThreadUtils.postOnMainThread(runnable);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user