Browse Source

Modify visibility of methods in TypedJsonSchemaObject.

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

Closes: #3989
3.2.x
Christoph Strobl 4 years ago
parent
commit
805e9ab890
No known key found for this signature in database
GPG Key ID: 8CC1AB53391458C8
  1. 4
      spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/schema/TypedJsonSchemaObject.java

4
spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/schema/TypedJsonSchemaObject.java

@ -583,7 +583,7 @@ public class TypedJsonSchemaObject extends UntypedJsonSchemaObject { @@ -583,7 +583,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);
@ -661,7 +661,7 @@ public class TypedJsonSchemaObject extends UntypedJsonSchemaObject { @@ -661,7 +661,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!");

Loading…
Cancel
Save