Skip to content

Commit 2532ae7

Browse files
committed
Adapt to snapshot change in Spring Data MongoDB
See spring-projects/spring-data-mongodb#5054 See gh-47041
1 parent 0ef1df5 commit 2532ae7

File tree

1 file changed

+1
-1
lines changed
  • module/spring-boot-data-mongodb/src/main/java/org/springframework/boot/data/mongodb/autoconfigure

1 file changed

+1
-1
lines changed

module/spring-boot-data-mongodb/src/main/java/org/springframework/boot/data/mongodb/autoconfigure/DataMongoProperties.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public static class Representation {
103103
/**
104104
* Representation to use when converting a BigDecimal.
105105
*/
106-
private @Nullable BigDecimalRepresentation bigDecimal;
106+
private @Nullable BigDecimalRepresentation bigDecimal = BigDecimalRepresentation.UNSPECIFIED;
107107

108108
public @Nullable BigDecimalRepresentation getBigDecimal() {
109109
return this.bigDecimal;

0 commit comments

Comments
 (0)