Change return type of UpdateDefinition.isIsolated to primitive.
Switch return from Boolean to boolean. Closes: #4922 Original Pull Request: #4981 Signed-off-by: Hyunsang Han <gustkd3@gmail.com>
This commit is contained in:
committed by
Christoph Strobl
parent
9a40b7e701
commit
c57581f6d2
@@ -140,7 +140,7 @@ public class MappedDocument {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Boolean isIsolated() {
|
public boolean isIsolated() {
|
||||||
return delegate.isIsolated();
|
return delegate.isIsolated();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -248,7 +248,7 @@ public class AggregationUpdate extends Aggregation implements UpdateDefinition {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Boolean isIsolated() {
|
public boolean isIsolated() {
|
||||||
return isolated;
|
return isolated;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -444,7 +444,7 @@ public class Update implements UpdateDefinition {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Boolean isIsolated() {
|
public boolean isIsolated() {
|
||||||
return isolated;
|
return isolated;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -24,6 +24,7 @@ import org.bson.Document;
|
|||||||
*
|
*
|
||||||
* @author Christoph Strobl
|
* @author Christoph Strobl
|
||||||
* @author Mark Paluch
|
* @author Mark Paluch
|
||||||
|
* @author Hyunsang Han
|
||||||
* @since 2.2
|
* @since 2.2
|
||||||
*/
|
*/
|
||||||
public interface UpdateDefinition {
|
public interface UpdateDefinition {
|
||||||
@@ -34,7 +35,7 @@ public interface UpdateDefinition {
|
|||||||
*
|
*
|
||||||
* @return {@literal true} if update isolated is set.
|
* @return {@literal true} if update isolated is set.
|
||||||
*/
|
*/
|
||||||
Boolean isIsolated();
|
boolean isIsolated();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return the actual update in its native {@link Document} format. Never {@literal null}.
|
* @return the actual update in its native {@link Document} format. Never {@literal null}.
|
||||||
|
|||||||
Reference in New Issue
Block a user