stleary / JSON-java

A reference implementation of a JSON package in Java.
http://stleary.github.io/JSON-java/index.html
Other
4.54k stars 2.56k forks source link

Cleanup warnings and merge new unit tests #846

Closed stleary closed 10 months ago

stleary commented 10 months ago

What problem does this code solve?

Notes: Return type T extends ParserConfiguration is a clever design, but it seems to require suppressing Unchecked warnings in the methods and overrides, resulting in a code smell. This was missed in the initial review. The design is not being changed at this time because it would require changes to existing API methods. If anyone has ideas about how to mitigate this without changing the API, please let me know.

Does the code still compile with Java6? Yes

Risks Low

Changes to the API? No

Will this require a new release? No

Should the documentation be updated? No

Does it break the unit tests? No, some new tests were added

Was any code refactored in this commit?

Review status APPROVED - by myself

Starting 3-day comment window