Modify visibility of methods in TypedJsonSchemaObject.

Change visibility to public as it should have been in first place.

Closes: #3989
This commit is contained in:
Christoph Strobl
2022-03-10 09:21:43 +01:00
parent 49e6d53641
commit 0a95fd9868

View File

@@ -587,7 +587,7 @@ public class TypedJsonSchemaObject extends UntypedJsonSchemaObject {
* @param value must not be {@literal null}.
* @return must not be {@literal null}.
*/
NumericJsonSchemaObject multipleOf(Number value) {
public NumericJsonSchemaObject multipleOf(Number value) {
Assert.notNull(value, "Value must not be null!");
NumericJsonSchemaObject newInstance = newInstance(description, generateDescription, restrictions);
@@ -665,7 +665,7 @@ public class TypedJsonSchemaObject extends UntypedJsonSchemaObject {
* @return new instance of {@link NumericJsonSchemaObject}.
*/
@SuppressWarnings("unchecked")
NumericJsonSchemaObject lte(Number max) {
public NumericJsonSchemaObject lte(Number max) {
Assert.notNull(max, "Max must not be null!");