Skip to content

Commit b97ab80

Browse files
committed
fixes #1073 Resolve javadoc warning messages
1 parent 622475b commit b97ab80

File tree

5 files changed

+13
-10
lines changed

5 files changed

+13
-10
lines changed

src/main/java/com/networknt/schema/SchemaValidatorsConfig.java

+3-2
Original file line numberDiff line numberDiff line change
@@ -190,11 +190,11 @@ public class SchemaValidatorsConfig {
190190
* .nullableKeywordEnabled(true)
191191
* .build();
192192
* </pre>
193-
* <p><ul>
193+
* <ul>
194194
* <li> customMessageSupported (errorMessageKeyword): change from message to null
195195
* <li> pathType: changed from PathType.LEGACY to PathType.JSON_POINTER.
196196
* <li> handleNullableField (nullableKeywordEnabled): changed from true to false
197-
* </ul><p>
197+
* </ul>
198198
*/
199199
@Deprecated
200200
public SchemaValidatorsConfig() {
@@ -948,6 +948,7 @@ public Builder keywordWalkListeners(Map<String, List<JsonSchemaWalkListener>> ke
948948
* Defaults to use {@link Locale#getDefault()}.
949949
*
950950
* @param locale The locale.
951+
* @return the builder
951952
*/
952953
public Builder locale(Locale locale) {
953954
this.locale = locale;

src/main/java/com/networknt/schema/ValidationMessageHandler.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ protected ErrorMessageType getErrorMessageType() {
100100

101101
/**
102102
* Gets the custom error message to use.
103-
*
103+
* @param errorMessageKeyword the error message keyword
104104
* @param schemaNode the schema node
105105
* @param keyword the keyword
106106
* @return the custom error message

src/main/java/com/networknt/schema/serialization/JsonNodeReader.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -32,17 +32,17 @@ public interface JsonNodeReader {
3232
* @param content the content
3333
* @param inputFormat the input format
3434
* @return the node
35-
* @throws IOException
35+
* @throws IOException IOException
3636
*/
3737
JsonNode readTree(String content, InputFormat inputFormat) throws IOException;
3838

3939
/**
4040
* Deserialize content as a tree.
4141
*
42-
* @param content
43-
* @param inputFormat
42+
* @param content input stream
43+
* @param inputFormat input format
4444
* @return the node
45-
* @throws IOException
45+
* @throws IOException IOException
4646
*/
4747
JsonNode readTree(InputStream content, InputFormat inputFormat) throws IOException;
4848

src/main/java/com/networknt/schema/utils/JsonNodes.java

+4-2
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@
3535
public class JsonNodes {
3636
/**
3737
* Gets the node found at the path.
38-
*
38+
*
39+
* @param <T> the type of the node
3940
* @param node the node
4041
* @param path the path
4142
* @return the node found at the path or null
@@ -57,7 +58,8 @@ public static <T extends JsonNode> T get(JsonNode node, JsonNodePath path) {
5758

5859
/**
5960
* Gets the node given the property or index.
60-
*
61+
*
62+
* @param <T> the type of the node
6163
* @param node the node
6264
* @param propertyOrIndex the property or index
6365
* @return the node given the property or index

src/main/java/com/networknt/schema/walk/WalkEvent.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public JsonNodePath getInstanceLocation() {
8383

8484
/**
8585
* Gets the validator that corresponds with the keyword.
86-
*
86+
* @param <T> the type of the validator
8787
* @return the validator
8888
*/
8989
@SuppressWarnings("unchecked")

0 commit comments

Comments
 (0)