Skip to content

Commit 6c9978f

Browse files
committed
Fix javadoc
1 parent 0eb1c85 commit 6c9978f

File tree

5 files changed

+0
-22
lines changed

5 files changed

+0
-22
lines changed

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

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -208,10 +208,6 @@ private static SchemaLocation resolve(SchemaLocation schemaLocation, JsonNode sc
208208

209209
private Schema(SchemaContext schemaContext, SchemaLocation schemaLocation,
210210
JsonNode schemaNode, Schema parent, boolean suppressSubSchemaRetrieval) {
211-
/*
212-
super(resolve(schemaLocation, schemaNode, parent == null, schemaContext), evaluationPath, schemaNode, parent,
213-
null, null, schemaContext, suppressSubSchemaRetrieval);
214-
*/
215211
this.schemaContext = schemaContext;
216212
this.schemaLocation = resolve(schemaLocation, schemaNode, parent == null, schemaContext);
217213
this.schemaNode = schemaNode;
@@ -273,26 +269,20 @@ private Schema(SchemaContext schemaContext, SchemaLocation schemaLocation,
273269
* @param schemaContext the schema context
274270
* @param parentSchema the parent schema
275271
* @param schemaLocation the schema location
276-
* @param evaluationPath the evaluation path
277-
* @param evaluationParentSchema the evaluation parent schema
278272
* @param errorMessage the error message
279273
*/
280274
protected Schema(
281-
/* Below from JsonSchema */
282275
List<KeywordValidator> validators,
283276
boolean validatorsLoaded,
284277
boolean recursiveAnchor,
285278
TypeValidator typeValidator,
286279
String id,
287-
/* Below from BaseJsonValidator */
288280
boolean suppressSubSchemaRetrieval,
289281
JsonNode schemaNode,
290282
SchemaContext schemaContext,
291283
Schema parentSchema,
292284
SchemaLocation schemaLocation,
293285
Map<String, String> errorMessage) {
294-
// super(suppressSubSchemaRetrieval, schemaNode, schemaContext, errorMessageType, keyword,
295-
// parentSchema, schemaLocation, evaluationPath, evaluationParentSchema, errorMessage);
296286
this.validators = validators;
297287
this.validatorsLoaded = validatorsLoaded;
298288
this.recursiveAnchor = recursiveAnchor;
@@ -619,14 +609,6 @@ private List<KeywordValidator> read(JsonNode schemaNode) {
619609

620610
@Override
621611
public void validate(ExecutionContext executionContext, JsonNode jsonNode, JsonNode rootNode, NodePath instanceLocation) {
622-
// String newEvaluationPath = new EvaluationPath(executionContext.getEvaluationPath()).toString();
623-
// String oldEvaluationPath = getEvaluationPath().toString();
624-
// if (!oldEvaluationPath.equals(newEvaluationPath)) {
625-
// System.out.println("-----------------");
626-
// System.out.println("MISMATCH OLD: " + oldEvaluationPath);
627-
// System.out.println("MISMATCH NEW: " + newEvaluationPath);
628-
// System.out.println("-----------------");
629-
// }
630612
List<KeywordValidator> validators = getValidators(); // Load the validators before checking the flags
631613
executionContext.evaluationSchema.addLast(this);
632614
boolean unevaluatedPropertiesPresent = executionContext.unevaluatedPropertiesPresent;

src/main/java/com/networknt/schema/keyword/ContentEncodingValidator.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ public class ContentEncodingValidator extends BaseKeywordValidator {
4040
* Constructor.
4141
*
4242
* @param schemaLocation the schema location
43-
* @param evaluationPath the evaluation path
4443
* @param schemaNode the schema node
4544
* @param parentSchema the parent schema
4645
* @param schemaContext the schema context

src/main/java/com/networknt/schema/keyword/ContentMediaTypeValidator.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ public class ContentMediaTypeValidator extends BaseKeywordValidator {
4545
* Constructor.
4646
*
4747
* @param schemaLocation the schema location
48-
* @param evaluationPath the evaluation path
4948
* @param schemaNode the schema node
5049
* @param parentSchema the parent schema
5150
* @param schemaContext the schema context

src/main/java/com/networknt/schema/keyword/DependenciesValidator.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ public class DependenciesValidator extends BaseKeywordValidator implements Keywo
3636
* Constructor.
3737
*
3838
* @param schemaLocation the schema location
39-
* @param evaluationPath the evaluation path
4039
* @param schemaNode the schema node
4140
* @param parentSchema the parent schema
4241
* @param schemaContext the schema context

src/main/java/com/networknt/schema/keyword/Keyword.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ public interface Keyword {
3737
* Creates a new validator for the keyword.
3838
*
3939
* @param schemaLocation the schema location
40-
* @param evaluationPath the evaluation path
4140
* @param schemaNode the schema node
4241
* @param parentSchema the parent schema
4342
* @param schemaContext the schema context

0 commit comments

Comments
 (0)