mirror of
https://github.com/google/nomulus.git
synced 2025-05-27 22:50:08 +02:00
Remove trailing whitespace in files
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=135386752
This commit is contained in:
parent
d02d30a4cd
commit
e864fedab1
60 changed files with 105 additions and 106 deletions
|
@ -41,7 +41,7 @@ public abstract class BaseFee extends ImmutableObject {
|
|||
@XmlEnumValue("delayed")
|
||||
DELAYED
|
||||
}
|
||||
|
||||
|
||||
/** Enum for the type of the fee. */
|
||||
public enum FeeType {
|
||||
CREATE("create"),
|
||||
|
@ -80,7 +80,7 @@ public abstract class BaseFee extends ImmutableObject {
|
|||
|
||||
@XmlTransient
|
||||
FeeType type;
|
||||
|
||||
|
||||
@XmlTransient
|
||||
Range<DateTime> validDateRange;
|
||||
|
||||
|
@ -104,21 +104,21 @@ public abstract class BaseFee extends ImmutableObject {
|
|||
* According to the fee extension specification, a fee must always be non-negative, while a credit
|
||||
* must always be negative. Essentially, they are the same thing, just with different sign.
|
||||
* However, we need them to be separate classes for proper JAXB handling.
|
||||
*
|
||||
*
|
||||
* @see "https://tools.ietf.org/html/draft-brown-epp-fees-03#section-2.4"
|
||||
*/
|
||||
public BigDecimal getCost() {
|
||||
return cost;
|
||||
}
|
||||
|
||||
|
||||
public FeeType getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
|
||||
public boolean hasValidDateRange() {
|
||||
return validDateRange != null;
|
||||
}
|
||||
|
||||
|
||||
public Range<DateTime> getValidDateRange() {
|
||||
checkState(hasValidDateRange());
|
||||
return validDateRange;
|
||||
|
@ -128,7 +128,7 @@ public abstract class BaseFee extends ImmutableObject {
|
|||
checkState(type != null);
|
||||
description = type.renderDescription(args);
|
||||
}
|
||||
|
||||
|
||||
public boolean hasZeroCost() {
|
||||
return cost.signum() == 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue