| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
lgtm, i've added a comment about some stylistic changes!
Sorry, something went wrong.
| String json = "[\n" + | ||
| "null,\n" + | ||
| "null\n" + | ||
| "]"; |
There was a problem hiding this comment.
why not just make this one string instead of multiple addition operations?
Sorry, something went wrong.
There was a problem hiding this comment.
Oops, I forgot that raw strings were added in java 13. I've made all the json strings into raw strings
Sorry, something went wrong.
| String json = "[\n" + | ||
| "1,\n" + | ||
| "2\n" + | ||
| "]"; |
There was a problem hiding this comment.
same as above, this only makes things more difficult to read
Sorry, something went wrong.
|
@satindra-r thank you so much! i've left some feedback, and i'm triggering the tests |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
This PR adds tests to the JSONArray class in core which has some fragile parsing logic.
Solves #1470