File tree Expand file tree Collapse file tree 4 files changed +29
-33
lines changed
main/java/org/springframework/data/cassandra/core/mapping
test/java/org/springframework/data/cassandra/core/convert Expand file tree Collapse file tree 4 files changed +29
-33
lines changed Original file line number Diff line number Diff line change 206206 </plugin >
207207 </plugins >
208208
209+ <pluginManagement >
210+ <plugins >
211+ <plugin >
212+ <groupId >org.apache.maven.plugins</groupId >
213+ <artifactId >maven-resources-plugin</artifactId >
214+ <configuration >
215+ <propertiesEncoding >${project.build.sourceEncoding}
216+ </propertiesEncoding >
217+ </configuration >
218+ </plugin >
219+ </plugins >
220+ </pluginManagement >
221+
209222 <resources >
210223 <resource >
211224 <directory >src/main/resources</directory >
Original file line number Diff line number Diff line change 118118 <scope >test</scope >
119119 </dependency >
120120
121+ <dependency >
122+ <groupId >net.javacrumbs.json-unit</groupId >
123+ <artifactId >json-unit-assertj</artifactId >
124+ <version >4.1.0</version >
125+ <scope >test</scope >
126+ </dependency >
127+
121128 <!-- Reactor -->
122129 <dependency >
123130 <groupId >io.projectreactor</groupId >
138145 <optional >true</optional >
139146 </dependency >
140147
141- <dependency >
142- <groupId >com.google.code.findbugs</groupId >
143- <artifactId >jsr305</artifactId >
144- <version >3.0.2</version >
145- <optional >true</optional >
146- </dependency >
147-
148148 <!-- CDI -->
149149
150150 <dependency >
168168 <scope >test</scope >
169169 </dependency >
170170
171- <dependency >
172- <groupId >com.fasterxml.jackson.core</groupId >
173- <artifactId >jackson-core</artifactId >
174- <scope >test</scope >
175- </dependency >
176-
177- <dependency >
178- <groupId >com.fasterxml.jackson.core</groupId >
179- <artifactId >jackson-databind</artifactId >
180- <scope >test</scope >
181- </dependency >
182-
183- <dependency >
184- <groupId >net.javacrumbs.json-unit</groupId >
185- <artifactId >json-unit-assertj</artifactId >
186- <version >4.1.0</version >
187- <scope >test</scope >
188- </dependency >
189-
190171 <dependency >
191172 <groupId >edu.umd.cs.mtc</groupId >
192173 <artifactId >multithreadedtc</artifactId >
Original file line number Diff line number Diff line change 2121import java .lang .annotation .RetentionPolicy ;
2222import java .lang .annotation .Target ;
2323
24- import javax . annotation . meta . When ;
24+ import org . jspecify . annotations . NonNull ;
2525
2626import org .springframework .core .annotation .AliasFor ;
2727
@@ -72,7 +72,8 @@ enum OnEmpty {
7272 * as alternative to the more verbose
7373 *
7474 * <pre class="code">
75- * @Embedded(onEmpty = USE_NULL) @javax.annotation.Nonnull(when = When.MAYBE) private Address address;
75+ * @Embedded(onEmpty = USE_NULL)
76+ * @Nullable private Address address;
7677 * </pre>
7778 *
7879 * @author Christoph Strobl
@@ -82,7 +83,7 @@ enum OnEmpty {
8283 @ Documented
8384 @ Retention (RetentionPolicy .RUNTIME )
8485 @ Target ({ ElementType .FIELD , ElementType .METHOD })
85- @ javax . annotation . Nonnull ( when = When . MAYBE )
86+ @ org . jspecify . annotations . Nullable
8687 @interface Nullable {
8788
8889 /**
@@ -118,7 +119,7 @@ enum OnEmpty {
118119 @ Documented
119120 @ Retention (RetentionPolicy .RUNTIME )
120121 @ Target ({ ElementType .FIELD , ElementType .METHOD })
121- @ javax . annotation . Nonnull ( when = When . NEVER )
122+ @ NonNull
122123 @interface Empty {
123124
124125 /**
Original file line number Diff line number Diff line change 1919import static org .springframework .data .cassandra .core .mapping .BasicMapId .*;
2020import static org .springframework .data .cassandra .test .util .RowMockUtil .*;
2121
22+ import net .minidev .json .JSONObject ;
23+ import net .minidev .json .parser .JSONParser ;
24+ import net .minidev .json .parser .ParseException ;
25+
2226import java .io .Serializable ;
2327import java .math .BigDecimal ;
2428import java .math .BigInteger ;
3337import java .util .*;
3438
3539import org .assertj .core .data .Percentage ;
36- import org .json .simple .JSONObject ;
37- import org .json .simple .parser .JSONParser ;
38- import org .json .simple .parser .ParseException ;
3940import org .jspecify .annotations .Nullable ;
4041import org .junit .jupiter .api .BeforeEach ;
4142import org .junit .jupiter .api .Test ;
You can’t perform that action at this time.
0 commit comments