mirror of
https://github.com/google/nomulus.git
synced 2025-05-13 16:07:15 +02:00
Rename DomainNameUtils method to getTldFromSld
This is broken out from [] ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=121599268
This commit is contained in:
parent
3ec6aebe44
commit
4a9be60e0b
8 changed files with 37 additions and 26 deletions
|
@ -19,7 +19,7 @@ import static google.registry.flows.domain.DomainFlowUtils.handleFeeRequest;
|
|||
import static google.registry.model.EppResourceUtils.checkResourcesExist;
|
||||
import static google.registry.model.registry.label.ReservationType.UNRESERVED;
|
||||
import static google.registry.util.CollectionUtils.nullToEmpty;
|
||||
import static google.registry.util.DomainNameUtils.getTldFromDomainName;
|
||||
import static google.registry.util.DomainNameUtils.getTldFromSld;
|
||||
|
||||
import com.google.common.collect.ImmutableList;
|
||||
import com.google.common.net.InternetDomainName;
|
||||
|
@ -114,7 +114,7 @@ public class DomainCheckFlow extends BaseDomainCheckFlow {
|
|||
throw new OnlyCheckedNamesCanBeFeeCheckedException();
|
||||
}
|
||||
FeeCheck.Builder builder = new FeeCheck.Builder();
|
||||
handleFeeRequest(domainCheck, builder, domainName, getTldFromDomainName(domainName), now);
|
||||
handleFeeRequest(domainCheck, builder, domainName, getTldFromSld(domainName), now);
|
||||
feeChecksBuilder.add(builder.setName(domainName).build());
|
||||
}
|
||||
return ImmutableList.of(FeeCheckResponseExtension.create(feeChecksBuilder.build()));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue