File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
core/src/main/java/org/everit/json/schema Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -56,6 +56,10 @@ public NotSchema(final Builder builder) {
56
56
this .mustNotMatch = requireNonNull (builder .mustNotMatch , "mustNotMatch cannot be null" );
57
57
}
58
58
59
+ public Schema getMustNotMatch () {
60
+ return mustNotMatch ;
61
+ }
62
+
59
63
@ Override
60
64
public void validate (final Object subject ) {
61
65
try {
Original file line number Diff line number Diff line change 5
5
import org .everit .json .schema .SchemaException ;
6
6
import org .everit .json .schema .loader .internal .TypeBasedMultiplexer ;
7
7
import org .json .JSONObject ;
8
+ import org .json .JSONPointer ;
8
9
9
10
import java .net .URI ;
10
11
import java .util .Map ;
@@ -24,7 +25,7 @@ class LoadingState {
24
25
25
26
URI id = null ;
26
27
27
- String pointerToCurrentObj ;
28
+ JSONPointer pointerToCurrentObj ;
28
29
29
30
final Map <String , ReferenceSchema .Builder > pointerSchemas ;
30
31
You can’t perform that action at this time.
0 commit comments