Skip to content

Commit b066df0

Browse files
jbescoslukasj
authored andcommitted
Clarify side effects of JsonObjectBuilder#build #178
Signed-off-by: Jorge Bescos Gascon <jorge.bescos.gascon@oracle.com>
1 parent 30f1a60 commit b066df0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

api/src/main/java/jakarta/json/JsonObjectBuilder.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,8 @@ default JsonObjectBuilder remove(String name) {
276276
* on the order in which name/value pairs are added to the object using
277277
* this builder.
278278
*
279+
* This method clears the builder.
280+
*
279281
* @return JSON object that is being built
280282
*/
281283
JsonObject build();

0 commit comments

Comments
 (0)