mirror of
https://github.com/processing/processing4.git
synced 2026-02-04 22:29:18 +01:00
Changed the access modifier of get()
This commit is contained in:
@@ -263,7 +263,7 @@ public class JSONArray {
|
||||
* @return An object value.
|
||||
* @throws JSONException 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