mirror of
https://github.com/google/nomulus.git
synced 2025-07-23 19:20:44 +02:00
Remove unnecessary generic type arguments
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=175155365
This commit is contained in:
parent
8dcc2d6833
commit
2aa897e698
140 changed files with 355 additions and 465 deletions
|
@ -121,7 +121,7 @@ public class CloudDnsWriter extends BaseDnsWriter {
|
|||
// desiredRecordsBuilder is populated with an empty set to indicate that all existing records
|
||||
// should be deleted.
|
||||
if (!domainResource.isPresent() || !domainResource.get().shouldPublishToDns()) {
|
||||
desiredRecords.put(absoluteDomainName, ImmutableSet.<ResourceRecordSet>of());
|
||||
desiredRecords.put(absoluteDomainName, ImmutableSet.of());
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -189,7 +189,7 @@ public class CloudDnsWriter extends BaseDnsWriter {
|
|||
|
||||
// Return early if the host is deleted.
|
||||
if (!host.isPresent()) {
|
||||
desiredRecords.put(absoluteHostName, ImmutableSet.<ResourceRecordSet>of());
|
||||
desiredRecords.put(absoluteHostName, ImmutableSet.of());
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -203,7 +203,7 @@ public class DnsUpdateWriter extends BaseDnsWriter {
|
|||
union(
|
||||
domain.getSubordinateHosts(),
|
||||
(additionalHost == null
|
||||
? ImmutableSet.<String>of()
|
||||
? ImmutableSet.of()
|
||||
: ImmutableSet.of(additionalHost)))) {
|
||||
update.delete(toAbsoluteName(hostName), Type.ANY);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue