mirror of
https://github.com/google/nomulus.git
synced 2025-07-25 12:08:36 +02:00
Use compound return statements for greater readability
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=173451653
This commit is contained in:
parent
eed2e0c45f
commit
d22986a0a3
3 changed files with 4 additions and 16 deletions
|
@ -130,14 +130,8 @@ public class CloudDnsWriterTest {
|
|||
stubZone
|
||||
.stream()
|
||||
.filter(
|
||||
resourceRecordSet -> {
|
||||
if (resourceRecordSet == null) {
|
||||
return false;
|
||||
}
|
||||
return resourceRecordSet
|
||||
.getName()
|
||||
.equals(recordNameCaptor.getValue());
|
||||
})
|
||||
rs ->
|
||||
rs != null && rs.getName().equals(recordNameCaptor.getValue()))
|
||||
.collect(toImmutableList()));
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue