mirror of
https://github.com/google/nomulus.git
synced 2025-07-24 03:30:46 +02:00
Remove unnecessary "throws" declarations
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=201058582
This commit is contained in:
parent
a7256f5edd
commit
5d80f124ca
377 changed files with 2297 additions and 2373 deletions
|
@ -14,7 +14,6 @@
|
|||
|
||||
package google.registry.flows.custom;
|
||||
|
||||
import google.registry.flows.EppException;
|
||||
import google.registry.flows.FlowMetadata;
|
||||
import google.registry.flows.SessionMetadata;
|
||||
import google.registry.flows.domain.DomainPricingLogic;
|
||||
|
@ -39,7 +38,7 @@ public class TestDomainPricingCustomLogic extends DomainPricingCustomLogic {
|
|||
|
||||
@Override
|
||||
public FeesAndCredits customizeApplicationUpdatePrice(
|
||||
ApplicationUpdatePriceParameters priceParameters) throws EppException {
|
||||
ApplicationUpdatePriceParameters priceParameters) {
|
||||
return (priceParameters
|
||||
.domainApplication()
|
||||
.getFullyQualifiedDomainName()
|
||||
|
@ -50,8 +49,7 @@ public class TestDomainPricingCustomLogic extends DomainPricingCustomLogic {
|
|||
}
|
||||
|
||||
@Override
|
||||
public FeesAndCredits customizeRenewPrice(RenewPriceParameters priceParameters)
|
||||
throws EppException {
|
||||
public FeesAndCredits customizeRenewPrice(RenewPriceParameters priceParameters) {
|
||||
return (priceParameters.domainName().toString().startsWith("costly-renew"))
|
||||
? addCustomFee(
|
||||
priceParameters.feesAndCredits(), Fee.create(ONE_HUNDRED_BUCKS, FeeType.RENEW))
|
||||
|
@ -59,8 +57,7 @@ public class TestDomainPricingCustomLogic extends DomainPricingCustomLogic {
|
|||
}
|
||||
|
||||
@Override
|
||||
public FeesAndCredits customizeTransferPrice(TransferPriceParameters priceParameters)
|
||||
throws EppException {
|
||||
public FeesAndCredits customizeTransferPrice(TransferPriceParameters priceParameters) {
|
||||
return (priceParameters.domainName().toString().startsWith("expensive"))
|
||||
? addCustomFee(
|
||||
priceParameters.feesAndCredits(), Fee.create(ONE_HUNDRED_BUCKS, FeeType.TRANSFER))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue