Skip to content

Commit

Permalink
Spotless apply
Browse files Browse the repository at this point in the history
Signed-off-by: Finn Carroll <[email protected]>
  • Loading branch information
finnegancarroll committed Aug 22, 2024
1 parent 1f3abe5 commit 257e9e8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
9 changes: 1 addition & 8 deletions server/src/main/java/org/opensearch/search/SearchHits.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,13 @@
import org.opensearch.common.Nullable;
import org.opensearch.common.annotation.ExperimentalApi;
import org.opensearch.common.annotation.PublicApi;
import org.opensearch.common.lucene.Lucene;
import org.opensearch.core.common.io.stream.StreamInput;
import org.opensearch.core.common.io.stream.StreamOutput;
import org.opensearch.core.common.io.stream.Writeable;
import org.opensearch.core.xcontent.ToXContentFragment;
import org.opensearch.core.xcontent.XContentBuilder;
import org.opensearch.core.xcontent.XContentParser;
import org.opensearch.rest.action.search.RestSearchAction;
import org.opensearch.search.fetch.serde.SearchHitSerDe;
import org.opensearch.search.fetch.serde.SearchHitsSerDe;

import java.io.IOException;
Expand Down Expand Up @@ -106,12 +104,7 @@ public SearchHits(
}

public SearchHits(SearchHits SrchHits) {
this(SrchHits.hits,
SrchHits.totalHits,
SrchHits.maxScore,
SrchHits.sortFields,
SrchHits.collapseField,
SrchHits.collapseValues);
this(SrchHits.hits, SrchHits.totalHits, SrchHits.maxScore, SrchHits.sortFields, SrchHits.collapseField, SrchHits.collapseValues);
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
import org.opensearch.search.SearchPhaseResult;
import org.opensearch.search.SearchShardTarget;
import org.opensearch.search.fetch.serde.FetchSearchResultsSerDe;
import org.opensearch.search.fetch.serde.SearchHitsSerDe;
import org.opensearch.search.internal.ShardSearchContextId;
import org.opensearch.search.query.QuerySearchResult;

Expand Down

0 comments on commit 257e9e8

Please sign in to comment.