fix: visibility in JSONConfig
This commit is contained in:
parent
e0fc3b91e3
commit
ee9bab2e3f
1 changed files with 1 additions and 1 deletions
|
@ -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());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue