Skip to content

Commit bca6867

Browse files
committed
fixes #683 for javadoc
2 parents 8ea5d5f + e672edb commit bca6867

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,8 @@ public Builder addMetaSchemas(final Collection<? extends JsonMetaSchema> jsonMet
142142

143143
/**
144144
* @deprecated Use {@code addUriTranslator} instead.
145+
* @param map the map of uri mappings.
146+
* @return this builder.
145147
*/
146148
@Deprecated
147149
public Builder addUriMappings(final Map<String, String> map) {

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ public void addUriTranslator(URITranslator uriTranslator) {
161161

162162
/**
163163
* @deprecated Use {@code getUriTranslator()} instead
164+
* @return Map of public, normally internet accessible schema URLs
164165
*/
165166
@Deprecated
166167
public Map<String, String> getUriMappings() {
@@ -170,6 +171,7 @@ public Map<String, String> getUriMappings() {
170171

171172
/**
172173
* @deprecated Use {@code addUriTranslator()} instead
174+
* @param uriMappings Map of public, normally internet accessible schema URLs
173175
*/
174176
@Deprecated
175177
public void setUriMappings(Map<String, String> uriMappings) {
@@ -350,7 +352,7 @@ public boolean isWriteMode() {
350352
*
351353
* When set to true considers that schema is used to write data then ReadOnlyValidator is activated. Default true.
352354
*
353-
* @param writeMode
355+
* @param writeMode true if schema is used to write data
354356
*/
355357
public void setWriteMode(boolean writeMode) {
356358
this.writeMode = writeMode;

0 commit comments

Comments
 (0)