mirror of
https://github.com/google/nomulus
synced 2026-04-09 19:19:19 +00:00
Clean up some code quality issues in GCP proxy
All changes are suggested by IntelliJ code inspection. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=189586104
This commit is contained in:
@@ -73,8 +73,8 @@ public class CertificateModule {
|
||||
ImmutableList<Object> objects, Class<T> clazz, Function<T, E> converter) {
|
||||
return objects
|
||||
.stream()
|
||||
.filter(obj -> clazz.isInstance(obj))
|
||||
.map(obj -> clazz.cast(obj))
|
||||
.filter(clazz::isInstance)
|
||||
.map(clazz::cast)
|
||||
.map(converter)
|
||||
.collect(toImmutableList());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user