quicktype-core 23.3.9 → 23.3.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -22,5 +22,8 @@ function javaNameStyle(startWithUpper, upperUnderscore, original, acronymsStyle
|
|
|
22
22
|
? Strings_1.firstUpperWordStyle
|
|
23
23
|
: Strings_1.allLowerWordStyle, upperUnderscore ? Strings_1.allUpperWordStyle : Strings_1.firstUpperWordStyle, upperUnderscore || startWithUpper
|
|
24
24
|
? Strings_1.allUpperWordStyle
|
|
25
|
-
: Strings_1.allLowerWordStyle,
|
|
25
|
+
: Strings_1.allLowerWordStyle,
|
|
26
|
+
// For UPPER_UNDERSCORE style (Java enum constants), always use allUpperWordStyle for acronyms
|
|
27
|
+
// to maintain consistency with the naming convention (e.g., XXX_SPA_XXX)
|
|
28
|
+
upperUnderscore ? Strings_1.allUpperWordStyle : acronymsStyle, upperUnderscore ? "_" : "", isStartCharacter);
|
|
26
29
|
}
|