mirror of
https://github.com/google/nomulus
synced 2026-01-08 15:21:46 +00:00
Mark enum field on CreditType as final
Enums should be immutable, so all fields on them should be final. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=142025872
This commit is contained in:
@@ -55,7 +55,7 @@ public final class RegistrarCredit extends ImmutableObject implements Buildable
|
||||
PROMOTION("Promotional Credit");
|
||||
|
||||
/** A descriptive name for a credit of this type. */
|
||||
private String descriptiveName;
|
||||
private final String descriptiveName;
|
||||
|
||||
CreditType(String descriptiveName) {
|
||||
this.descriptiveName = descriptiveName;
|
||||
|
||||
Reference in New Issue
Block a user