mirror of
https://github.com/google/nomulus.git
synced 2025-05-16 17:37:13 +02: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:
parent
c1759fa9d4
commit
6cdac0462a
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue