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 206
206
</plugin >
207
207
</plugins >
208
208
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
+
209
222
<resources >
210
223
<resource >
211
224
<directory >src/main/resources</directory >
Original file line number Diff line number Diff line change 118
118
<scope >test</scope >
119
119
</dependency >
120
120
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
+
121
128
<!-- Reactor -->
122
129
<dependency >
123
130
<groupId >io.projectreactor</groupId >
138
145
<optional >true</optional >
139
146
</dependency >
140
147
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
-
148
148
<!-- CDI -->
149
149
150
150
<dependency >
168
168
<scope >test</scope >
169
169
</dependency >
170
170
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
-
190
171
<dependency >
191
172
<groupId >edu.umd.cs.mtc</groupId >
192
173
<artifactId >multithreadedtc</artifactId >
Original file line number Diff line number Diff line change 21
21
import java .lang .annotation .RetentionPolicy ;
22
22
import java .lang .annotation .Target ;
23
23
24
- import javax . annotation . meta . When ;
24
+ import org . jspecify . annotations . NonNull ;
25
25
26
26
import org .springframework .core .annotation .AliasFor ;
27
27
@@ -72,7 +72,8 @@ enum OnEmpty {
72
72
* as alternative to the more verbose
73
73
*
74
74
* <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;
76
77
* </pre>
77
78
*
78
79
* @author Christoph Strobl
@@ -82,7 +83,7 @@ enum OnEmpty {
82
83
@ Documented
83
84
@ Retention (RetentionPolicy .RUNTIME )
84
85
@ Target ({ ElementType .FIELD , ElementType .METHOD })
85
- @ javax . annotation . Nonnull ( when = When . MAYBE )
86
+ @ org . jspecify . annotations . Nullable
86
87
@interface Nullable {
87
88
88
89
/**
@@ -118,7 +119,7 @@ enum OnEmpty {
118
119
@ Documented
119
120
@ Retention (RetentionPolicy .RUNTIME )
120
121
@ Target ({ ElementType .FIELD , ElementType .METHOD })
121
- @ javax . annotation . Nonnull ( when = When . NEVER )
122
+ @ NonNull
122
123
@interface Empty {
123
124
124
125
/**
Original file line number Diff line number Diff line change 19
19
import static org .springframework .data .cassandra .core .mapping .BasicMapId .*;
20
20
import static org .springframework .data .cassandra .test .util .RowMockUtil .*;
21
21
22
+ import net .minidev .json .JSONObject ;
23
+ import net .minidev .json .parser .JSONParser ;
24
+ import net .minidev .json .parser .ParseException ;
25
+
22
26
import java .io .Serializable ;
23
27
import java .math .BigDecimal ;
24
28
import java .math .BigInteger ;
33
37
import java .util .*;
34
38
35
39
import 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 ;
39
40
import org .jspecify .annotations .Nullable ;
40
41
import org .junit .jupiter .api .BeforeEach ;
41
42
import org .junit .jupiter .api .Test ;
You can’t perform that action at this time.
0 commit comments