Refactoring: FIx Sonarqube issues in JSONArray by marilynel · Pull Request #1013 · stleary/JSON-java

What problem does this code solve?
Addresses SonarQube issues for JSONArray

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

Was any code refactored in this commit?
This commit was all refactoring

Review status
APPROVED

Starting 3-day comment window