Skip to content

Commit

Permalink
spotless
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Farr <tsfarr@amazon.com>
  • Loading branch information
Xtansia committed Sep 9, 2024
1 parent 61e046e commit e25ec82
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
import org.opensearch.client.json.JsonpDeserializer;
import org.opensearch.client.json.ObjectBuilderDeserializer;
import org.opensearch.client.json.ObjectDeserializer;
import org.opensearch.client.opensearch.tasks.ListResponse;
import org.opensearch.client.opensearch.tasks.TaskListResponseBase;
import org.opensearch.client.util.ObjectBuilder;

Expand All @@ -62,7 +61,9 @@ public static DeleteByQueryRethrottleResponse of(Function<Builder, ObjectBuilder
* Builder for {@link DeleteByQueryRethrottleResponse}.
*/

public static class Builder extends TaskListResponseBase.AbstractBuilder<Builder> implements ObjectBuilder<DeleteByQueryRethrottleResponse> {
public static class Builder extends TaskListResponseBase.AbstractBuilder<Builder>
implements
ObjectBuilder<DeleteByQueryRethrottleResponse> {
@Override
protected Builder self() {
return this;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,11 @@ public JavaClassKind getClassKind() {
}

public boolean isAbstract() {
var refKinds = incomingReferences.entrySet().stream().filter(e -> !e.getValue().isEmpty()).map(Map.Entry::getKey).collect(Collectors.toSet());
var refKinds = incomingReferences.entrySet()
.stream()
.filter(e -> !e.getValue().isEmpty())
.map(Map.Entry::getKey)
.collect(Collectors.toSet());
return !refKinds.isEmpty() && refKinds.stream().noneMatch(ReferenceKind::isConcreteUsage);
}

Expand Down

0 comments on commit e25ec82

Please sign in to comment.