Skip to content

Commit d6df7d1

Browse files
committed
add missing comments
Signed-off-by: Lukas Jungmann <lukas.jungmann@oracle.com>
1 parent 8fb92b1 commit d6df7d1

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@
5858
*/
5959
public final class Json {
6060

61+
/**
62+
* No instantiation.
63+
*/
6164
private Json() {
6265
}
6366

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,13 @@ enum Operation {
8585
*/
8686
TEST("test");
8787

88+
/** Operation name */
8889
private final String operationName;
8990

91+
/**
92+
* Create an enum constant with given {@code operationName}.
93+
* @param operationName the operation name for the enum constant
94+
*/
9095
private Operation(String operationName) {
9196
this.operationName = operationName;
9297
}

api/src/main/java/jakarta/json/stream/JsonCollectors.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@
4040

4141
public final class JsonCollectors {
4242

43+
/**
44+
* No instantiation.
45+
*/
4346
private JsonCollectors() {
4447
}
4548

0 commit comments

Comments
 (0)