You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use mockito extensions to mimic static imports.
Use Lombok's FieldDefaults and NonNull in operations support.
Original Pull Request: spring-projects#487
Copy file name to clipboardExpand all lines: spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/ExecutableAggregationOperationSupport.java
Copy file name to clipboardExpand all lines: spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/ExecutableFindOperationSupport.java
+9-5
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,10 @@
15
15
*/
16
16
packageorg.springframework.data.mongodb.core;
17
17
18
+
importlombok.AccessLevel;
19
+
importlombok.NonNull;
18
20
importlombok.RequiredArgsConstructor;
21
+
importlombok.experimental.FieldDefaults;
19
22
20
23
importjava.util.List;
21
24
importjava.util.Optional;
@@ -74,14 +77,15 @@ public <T> ExecutableFind<T> query(Class<T> domainType) {
Copy file name to clipboardExpand all lines: spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/ExecutableInsertOperationSupport.java
Copy file name to clipboardExpand all lines: spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/ExecutableRemoveOperationSupport.java
+11-7
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,10 @@
15
15
*/
16
16
packageorg.springframework.data.mongodb.core;
17
17
18
+
importlombok.AccessLevel;
19
+
importlombok.NonNull;
18
20
importlombok.RequiredArgsConstructor;
21
+
importlombok.experimental.FieldDefaults;
19
22
20
23
importjava.util.List;
21
24
@@ -56,35 +59,36 @@ public <T> ExecutableRemove<T> remove(Class<T> domainType) {
56
59
57
60
Assert.notNull(domainType, "DomainType must not be null!");
Copy file name to clipboardExpand all lines: spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/ExecutableUpdateOperationSupport.java
+15-11
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,10 @@
15
15
*/
16
16
packageorg.springframework.data.mongodb.core;
17
17
18
+
importlombok.AccessLevel;
19
+
importlombok.NonNull;
18
20
importlombok.RequiredArgsConstructor;
21
+
importlombok.experimental.FieldDefaults;
19
22
20
23
importjava.util.Optional;
21
24
@@ -56,38 +59,39 @@ public <T> ExecutableUpdate<T> update(Class<T> domainType) {
56
59
57
60
Assert.notNull(domainType, "DomainType must not be null!");
Copy file name to clipboardExpand all lines: spring-data-mongodb/src/test/kotlin/org/springframework/data/mongodb/core/ExecutableAggregationOperationExtensionsTests.kt
Copy file name to clipboardExpand all lines: spring-data-mongodb/src/test/kotlin/org/springframework/data/mongodb/core/ExecutableFindOperationExtensionsTests.kt
0 commit comments