openapi-generator/.github
Jim Schubert c9ec084418
🐛 Fixing some issues with threading and NPE (#5107)
* 🐛 Fixing some issues with threading and NPE

After running Sonar on the master branch, some major analysis
opportunities were displayed.

This fixes the use of SimpleDateFormat stored as static fields.
SimpleDateFormat is not thread-safe, and may retain data across threads.
While there's no indicator that this has caused any issues (these are
mostly used for example code), we should follow these best practices.

This also fixes a handful of NPE and other minor issues such as
comparing Boolean.TRUE to strings and no wrapping some closeables in
try-with-resources.

* [cli] Unit test GenerateBatch custom deserialization helper

* Quiet batch mode in sonar.yml

* Suppress unnecessary warnings (ThreadLocals in static fields)
2020-01-25 18:28:16 -05:00
..
.test Support [typescript] as a pattern for auto-labeler (#4180) 2019-10-18 17:47:56 -04:00
ISSUE_TEMPLATE Update issue checklist with an item to validate the input 2019-01-13 14:16:15 +08:00
workflows 🐛 Fixing some issues with threading and NPE (#5107) 2020-01-25 18:28:16 -05:00
auto-labeler.yml Fix auto-labeler for jax-rs (#4943) 2020-01-08 23:55:32 -05:00
CODEOWNERS Initial CODEOWNERS (#4924) 2020-01-05 22:23:04 +08:00
FUNDING.yml Create FUNDING.yml (#3008) 2019-05-27 22:17:21 +08:00
ISSUE_TEMPLATE.md Fixes in GitHub templates files (#311) 2018-05-04 13:44:01 +02:00
PULL_REQUEST_TEMPLATE.md minor doc update (#4359) 2019-11-04 09:29:52 +08:00