Skip to content

Switch return type of UpdateDefinition#isIsolated to primitive #4981

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ public void inc(String version) {
}

@Override
public Boolean isIsolated() {
public boolean isIsolated() {
return delegate.isIsolated();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ public AggregationUpdate isolated() {
}

@Override
public Boolean isIsolated() {
public boolean isIsolated() {
return isolated;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ public Update filterArray(String identifier, Object expression) {
}

@Override
public Boolean isIsolated() {
public boolean isIsolated() {
return isolated;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
*
* @author Christoph Strobl
* @author Mark Paluch
* @author Hyunsang Han
* @since 2.2
*/
public interface UpdateDefinition {
Expand All @@ -34,7 +35,7 @@ public interface UpdateDefinition {
*
* @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}.
Expand Down