Skip to content

Commit dab5473

Browse files
Modify visibility of methods in TypedJsonSchemaObject.
Change visibility to public as it should have been in first place. Closes: #3989
1 parent e6fce75 commit dab5473

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@ private NumericJsonSchemaObject(Set<Type> types, @Nullable String description, b
547547
* @param value must not be {@literal null}.
548548
* @return must not be {@literal null}.
549549
*/
550-
NumericJsonSchemaObject multipleOf(Number value) {
550+
public NumericJsonSchemaObject multipleOf(Number value) {
551551

552552
Assert.notNull(value, "Value must not be null!");
553553
NumericJsonSchemaObject newInstance = newInstance(description, generateDescription, restrictions);
@@ -625,7 +625,7 @@ public NumericJsonSchemaObject lt(Number max) {
625625
* @return new instance of {@link NumericJsonSchemaObject}.
626626
*/
627627
@SuppressWarnings("unchecked")
628-
NumericJsonSchemaObject lte(Number max) {
628+
public NumericJsonSchemaObject lte(Number max) {
629629

630630
Assert.notNull(max, "Max must not be null!");
631631

0 commit comments

Comments
 (0)