diff --git a/config/checkstyle/checkstyle.xml b/config/checkstyle/checkstyle.xml index 5e8d60967..0e8a824b5 100644 --- a/config/checkstyle/checkstyle.xml +++ b/config/checkstyle/checkstyle.xml @@ -25,6 +25,53 @@ by Joshua Bloch in his book Effective Java --> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/config/checkstyle/suppressions.xml b/config/checkstyle/suppressions.xml index cd993cc2e..405e27ab5 100644 --- a/config/checkstyle/suppressions.xml +++ b/config/checkstyle/suppressions.xml @@ -9,4 +9,6 @@ + + diff --git a/core/src/main/java/google/registry/model/domain/DomainBase.java b/core/src/main/java/google/registry/model/domain/DomainBase.java index 6f5087564..5180ca32a 100644 --- a/core/src/main/java/google/registry/model/domain/DomainBase.java +++ b/core/src/main/java/google/registry/model/domain/DomainBase.java @@ -104,7 +104,7 @@ public class DomainBase extends EppResource * from (creationTime, deletionTime) there can only be one domain in Datastore with this name. * However, there can be many domains with the same name and non-overlapping lifetimes. * - * @invariant fullyQualifiedDomainName == fullyQualifiedDomainName.toLowerCase() + * @invariant fullyQualifiedDomainName == fullyQualifiedDomainName.toLowerCase(Locale.ENGLISH) */ @Index String fullyQualifiedDomainName;