Skip to content

Commit 1c2ffa9

Browse files
committed
fix return type of isIsolated from Boolean to boolean
Signed-off-by: Hyunsang Han <[email protected]>
1 parent 9a40b7e commit 1c2ffa9

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/MappedDocument.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ public void inc(String version) {
140140
}
141141

142142
@Override
143-
public Boolean isIsolated() {
143+
public boolean isIsolated() {
144144
return delegate.isIsolated();
145145
}
146146

spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/AggregationUpdate.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ public AggregationUpdate isolated() {
248248
}
249249

250250
@Override
251-
public Boolean isIsolated() {
251+
public boolean isIsolated() {
252252
return isolated;
253253
}
254254

spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/query/Update.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ public Update filterArray(String identifier, Object expression) {
444444
}
445445

446446
@Override
447-
public Boolean isIsolated() {
447+
public boolean isIsolated() {
448448
return isolated;
449449
}
450450

spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/query/UpdateDefinition.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
*
2525
* @author Christoph Strobl
2626
* @author Mark Paluch
27+
* @author Hyunsang Han
2728
* @since 2.2
2829
*/
2930
public interface UpdateDefinition {
@@ -34,7 +35,7 @@ public interface UpdateDefinition {
3435
*
3536
* @return {@literal true} if update isolated is set.
3637
*/
37-
Boolean isIsolated();
38+
boolean isIsolated();
3839

3940
/**
4041
* @return the actual update in its native {@link Document} format. Never {@literal null}.

0 commit comments

Comments
 (0)