The PR addresses the problem that the default value for the field numberFormat of DefaultFieldSet is currently initialized twice: Once by the assignment in the declaration and once in the constructor. As the construction of the default number format is expensive, this should be avoided.
It also addresses the problem that the expensive construction of the default numberFormat and dateFormat currently cannot be avoided in the case where the default values are overwritten after calling the constructor.
Resolves #1694.
The PR addresses the problem that the default value for the field
numberFormat
ofDefaultFieldSet
is currently initialized twice: Once by the assignment in the declaration and once in the constructor. As the construction of the default number format is expensive, this should be avoided.It also addresses the problem that the expensive construction of the default
numberFormat
anddateFormat
currently cannot be avoided in the case where the default values are overwritten after calling the constructor.