Skip to content

Commit

Permalink
Clarify side effects of JsonObjectBuilder#build #178
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 13, 2021
1 parent 30f1a60 commit b066df0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api/src/main/java/jakarta/json/JsonObjectBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,8 @@ default JsonObjectBuilder remove(String name) {
* on the order in which name/value pairs are added to the object using
* this builder.
*
* This method clears the builder.
*
* @return JSON object that is being built
*/
JsonObject build();
Expand Down

0 comments on commit b066df0

Please sign in to comment.