diff --git a/json/src/com/jetbrains/jsonSchema/impl/JsonSchemaAnnotatorChecker.java b/json/src/com/jetbrains/jsonSchema/impl/JsonSchemaAnnotatorChecker.java index 46ad18d3c527..448ff7538cda 100644 --- a/json/src/com/jetbrains/jsonSchema/impl/JsonSchemaAnnotatorChecker.java +++ b/json/src/com/jetbrains/jsonSchema/impl/JsonSchemaAnnotatorChecker.java @@ -942,7 +942,7 @@ class JsonSchemaAnnotatorChecker { * In this case we need to show the most "suitable" error messages * - by detecting the most "likely" schema corresponding to the current entity */ - @NotNull + @Nullable private JsonSchemaObject showErrorsAndGetLeastErroneous(@NotNull List candidateErroneousCheckers, @NotNull List candidateErroneousSchemas) { JsonSchemaObject current = null;