Skip to content

Commit 3e1a7a6

Browse files
committed
Revert "exposing NotSchema#mustNotMatch property, as requested in #53"
This reverts commit de2b284.
1 parent 215f1f6 commit 3e1a7a6

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

core/src/main/java/org/everit/json/schema/NotSchema.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,6 @@ public NotSchema(final Builder builder) {
5656
this.mustNotMatch = requireNonNull(builder.mustNotMatch, "mustNotMatch cannot be null");
5757
}
5858

59-
public Schema getMustNotMatch() {
60-
return mustNotMatch;
61-
}
62-
6359
@Override
6460
public void validate(final Object subject) {
6561
try {

core/src/main/java/org/everit/json/schema/loader/LoadingState.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
import org.everit.json.schema.SchemaException;
66
import org.everit.json.schema.loader.internal.TypeBasedMultiplexer;
77
import org.json.JSONObject;
8-
import org.json.JSONPointer;
98

109
import java.net.URI;
1110
import java.util.Map;
@@ -25,7 +24,7 @@ class LoadingState {
2524

2625
URI id = null;
2726

28-
JSONPointer pointerToCurrentObj;
27+
String pointerToCurrentObj;
2928

3029
final Map<String, ReferenceSchema.Builder> pointerSchemas;
3130

0 commit comments

Comments
 (0)