mirror of
https://github.com/processing/processing4.git
synced 2026-02-05 06:39:20 +01:00
Merge pull request #4336 from Akarshit/bugifx-accessModifier
Changed the access modifier of get()
This commit is contained in:
@@ -263,7 +263,7 @@ public class JSONArray {
|
||||
* @return An object value.
|
||||
* @throws RuntimeException If there is no value for the index.
|
||||
*/
|
||||
private Object get(int index) {
|
||||
public Object get(int index) {
|
||||
Object object = opt(index);
|
||||
if (object == null) {
|
||||
throw new RuntimeException("JSONArray[" + index + "] not found.");
|
||||
|
||||
Reference in New Issue
Block a user