fix comment

This commit is contained in:
Looly 2022-02-21 18:40:42 +08:00
parent fe3eccceb9
commit 4cb2bc42cd

View File

@ -66,7 +66,7 @@ public interface JSONGetter<K> extends OptNullBasicTypeFromObjectGetter<K> {
* 如果值为其它类型对象尝试转换为{@link JSONArray}返回否则抛出异常
*
* @param key KEY
* @return JSONArray对象如果值为null或者非JSONArray类型返回null
* @return JSONArray对象如果值为{@code null}返回{@code null}非JSONArray类型尝试转换转换失败抛出异常
*/
default JSONArray getJSONArray(K key) {
final Object object = this.getObj(key);
@ -85,7 +85,7 @@ public interface JSONGetter<K> extends OptNullBasicTypeFromObjectGetter<K> {
* 如果值为其它类型对象尝试转换为{@link JSONObject}返回否则抛出异常
*
* @param key KEY
* @return JSONObject对象如果值为null或者非JSONObject类型返回null
* @return JSONObject对象如果值为{@code null}返回{@code null}非JSONObject类型尝试转换转换失败抛出异常
*/
default JSONObject getJSONObject(K key) {
final Object object = this.getObj(key);