James Petty
James Petty
SimpleDateFormat is not threadsafe since it mutates fields internally during calls to parse and format. This changes previously static instances of SimpleDateFormat into static thread-local instances to avoid the the...
The javadoc for SimpleDateFormat will confirm: this class isn’t thread safe. Internally, it mutates several mutable fields in the process of parsing and formatting. Accessing instances of SimpleDateFormat from multiple...
## Description Updates more code generators to use `Scope#getOrCreateTempVariable` to increase variable reuse opportunities and reduce overall generated code size. ## Additional context and related issues Follows up on work...