Skip to content

Commit

Permalink
Fix JsonArray documentation for getBoolean #149
Browse files Browse the repository at this point in the history
Signed-off-by: Jorge Bescos Gascon <jorge.bescos.gascon@oracle.com>
  • Loading branch information
jbescos authored and lukasj committed Oct 5, 2021
1 parent 6c9bdef commit a80b0be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/main/java/jakarta/json/JsonArray.java
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ default <T, K extends JsonValue> List<T> getValuesAs(Function<K, T> func) {
* @return the boolean value at the specified position
* @throws IndexOutOfBoundsException if the index is out of range
* @throws ClassCastException if the value at the specified position is not
* assignable to {@code JsonValue.TRUE} or {@code JsonValue.FALSE}
* {@code JsonValue.TRUE} or {@code JsonValue.FALSE}
*/
boolean getBoolean(int index);

Expand Down

0 comments on commit a80b0be

Please sign in to comment.