Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Development for stleary#516 completed with rebased repository #524

Commits on Jun 3, 2020

  1. Development for stleary#516 completed with rebased repository

    - Introduced JSONObject(int) constructor.
       - int > Initial capacity of the underlying data structure
    
    - Test for new introduced JSONArray(int) constructor.
       1. Checked with input parameter: 0
       2. Checked with input parameter: positive number
       3. Checked with positive number input parameter and compared length
       4. If input parameter is negative number JSONException is thrown:
             JSONArray initial capacity cannot be negative.
    viveksacademia4git committed Jun 3, 2020
    Copy the full SHA
    d088cf0 View commit details
    Browse the repository at this point in the history