Skip to content

Commit 8aa52c1

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

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
@@ -587,7 +587,7 @@ private NumericJsonSchemaObject(Set<Type> types, @Nullable String description, b
587587
* @param value must not be {@literal null}.
588588
* @return must not be {@literal null}.
589589
*/
590-
NumericJsonSchemaObject multipleOf(Number value) {
590+
public NumericJsonSchemaObject multipleOf(Number value) {
591591

592592
Assert.notNull(value, "Value must not be null!");
593593
NumericJsonSchemaObject newInstance = newInstance(description, generateDescription, restrictions);
@@ -665,7 +665,7 @@ public NumericJsonSchemaObject lt(Number max) {
665665
* @return new instance of {@link NumericJsonSchemaObject}.
666666
*/
667667
@SuppressWarnings("unchecked")
668-
NumericJsonSchemaObject lte(Number max) {
668+
public NumericJsonSchemaObject lte(Number max) {
669669

670670
Assert.notNull(max, "Max must not be null!");
671671

0 commit comments

Comments
 (0)