Skip to content

Commit

Permalink
Fix typo in Java Doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Gregor-Gottschewski authored and lukasj committed Feb 11, 2024
1 parent d9a8de1 commit 29c792a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/main/java/jakarta/json/Json.java
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ public static JsonArrayBuilder createArrayBuilder(JsonArray array) {

/**
* Creates a JSON array builder, initialized with the content of specified {@code collection}.
* If the @{code collection} contains {@link Optional}s then resulting JSON array builder
* If the {@code collection} contains {@link Optional}s then resulting JSON array builder
* contains the value from the {@code collection} only if the {@link Optional} is not empty.
*
* @param collection the initial data for the builder
Expand Down

0 comments on commit 29c792a

Please sign in to comment.