mirror of
https://github.com/google/nomulus
synced 2026-07-29 19:42:47 +00:00
Clean up BaseFeeResponse.setFee() and call sites
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=126229075
This commit is contained in:
@@ -78,13 +78,8 @@ public class BaseFeeResponse extends ImmutableObject {
|
||||
return thisCastToDerived();
|
||||
}
|
||||
|
||||
public B setFee(Fee... fee) {
|
||||
public B setFees(List<Fee> fees) {
|
||||
// If there are no fees, set the field to null to suppress the 'fee' section in the xml.
|
||||
getInstance().fee = forceEmptyToNull(ImmutableList.copyOf(fee));
|
||||
return thisCastToDerived();
|
||||
}
|
||||
|
||||
public B setFee(List<Fee> fees) {
|
||||
getInstance().fee = forceEmptyToNull(ImmutableList.copyOf(fees));
|
||||
return thisCastToDerived();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user