mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-05-04 07:25:25 +01:00
Convert all the toList calls to collect(Collectors.toList)
Resolves #14718
This commit is contained in:
committed by
jeffrey-signal
parent
e9cdf0368e
commit
086883e565
@@ -99,7 +99,7 @@ public class SealedSenderAccessUtil {
|
||||
return Optional.ofNullable(unidentifiedAccess);
|
||||
}).collect(Collectors.toList());
|
||||
|
||||
int unidentifiedCount = Stream.of(access).filter(Optional::isPresent).toList().size();
|
||||
int unidentifiedCount = Stream.of(access).filter(Optional::isPresent).collect(com.annimon.stream.Collectors.toList()).size();
|
||||
int otherCount = access.size() - unidentifiedCount;
|
||||
|
||||
if (log) {
|
||||
|
||||
Reference in New Issue
Block a user