From ee9bab2e3f88e35f9cf0c7c8f42e07b67e67dad5 Mon Sep 17 00:00:00 2001 From: Simon Date: Thu, 14 May 2020 00:19:13 +0200 Subject: [PATCH] fix: visibility in JSONConfig --- varo/src/main/java/de/cliffbreak/varo/uitls/JSONConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/varo/src/main/java/de/cliffbreak/varo/uitls/JSONConfig.java b/varo/src/main/java/de/cliffbreak/varo/uitls/JSONConfig.java index 485f1e5..a067544 100644 --- a/varo/src/main/java/de/cliffbreak/varo/uitls/JSONConfig.java +++ b/varo/src/main/java/de/cliffbreak/varo/uitls/JSONConfig.java @@ -115,7 +115,7 @@ public class JSONConfig { : (this.defaults.containsKey(key) ? (JSONObject) this.defaults.get(key) : new JSONObject()); } - private JSONArray getArray(final String key) { + public JSONArray getArray(final String key) { return this.json.containsKey(key) ? (JSONArray) json.get(key) : (this.defaults.containsKey(key) ? (JSONArray) this.defaults.get(key) : new JSONArray()); }