modify enum template. field should be final. add testcase & sample updates. (#21019)

This commit is contained in:
takashno
2025-04-13 19:49:15 +09:00
committed by GitHub
parent 4fc46cb0d4
commit dcb8b1a2dc
247 changed files with 385 additions and 337 deletions

View File

@@ -49,7 +49,7 @@ public class Order {
DELIVERED("delivered");
private String value;
private final String value;
StatusEnum(String value) {
this.value = value;

View File

@@ -57,7 +57,7 @@ public class Pet {
SOLD("sold");
private String value;
private final String value;
StatusEnum(String value) {
this.value = value;