fix: visibility in JSONConfig

This commit is contained in:
Simon Giesel 2020-05-14 00:19:13 +02:00
parent e0fc3b91e3
commit ee9bab2e3f

View file

@ -115,7 +115,7 @@ public class JSONConfig {
: (this.defaults.containsKey(key) ? (JSONObject) this.defaults.get(key) : new JSONObject()); : (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) return this.json.containsKey(key) ? (JSONArray) json.get(key)
: (this.defaults.containsKey(key) ? (JSONArray) this.defaults.get(key) : new JSONArray()); : (this.defaults.containsKey(key) ? (JSONArray) this.defaults.get(key) : new JSONArray());
} }