-
Type:
Enhancement
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: None
-
Component/s: core-libs
-
b03
A few refactorings to slightly improve performance of java.util.Formatters and align the implementation with the JEP work for TemplatedStrings:
- turn Flags into an int
- avoid varargs methods: checkBadFlags(Flags.PARENTHESES, ... -> checkBadFlags(Flags.Parentheses | ...
- make FormatSpecifier and FixedString static
- turn Flags into an int
- avoid varargs methods: checkBadFlags(Flags.PARENTHESES, ... -> checkBadFlags(Flags.Parentheses | ...
- make FormatSpecifier and FixedString static