Skip to content

Commit 805e9ab

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

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
@@ -583,7 +583,7 @@ private NumericJsonSchemaObject(Set<Type> types, @Nullable String description, b
583583
* @param value must not be {@literal null}.
584584
* @return must not be {@literal null}.
585585
*/
586-
NumericJsonSchemaObject multipleOf(Number value) {
586+
public NumericJsonSchemaObject multipleOf(Number value) {
587587

588588
Assert.notNull(value, "Value must not be null!");
589589
NumericJsonSchemaObject newInstance = newInstance(description, generateDescription, restrictions);
@@ -661,7 +661,7 @@ public NumericJsonSchemaObject lt(Number max) {
661661
* @return new instance of {@link NumericJsonSchemaObject}.
662662
*/
663663
@SuppressWarnings("unchecked")
664-
NumericJsonSchemaObject lte(Number max) {
664+
public NumericJsonSchemaObject lte(Number max) {
665665

666666
Assert.notNull(max, "Max must not be null!");
667667

0 commit comments

Comments
 (0)