Skip to content

Commit

Permalink
Reverting change that had no impact on test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
kderusso committed Oct 24, 2024
1 parent 4aa9a09 commit ad0958d
Showing 1 changed file with 1 addition and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,21 +44,7 @@
*/
public abstract class CompoundRetrieverBuilder<T extends CompoundRetrieverBuilder<T>> extends RetrieverBuilder {

public record RetrieverSource(RetrieverBuilder retriever, SearchSourceBuilder source) {

@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
RetrieverSource that = (RetrieverSource) o;
return Objects.equals(retriever, that.retriever) && Objects.equals(source, that.source);
}

@Override
public int hashCode() {
return Objects.hash(retriever, source);
}
}
public record RetrieverSource(RetrieverBuilder retriever, SearchSourceBuilder source) {}

protected final int rankWindowSize;
protected final List<RetrieverSource> innerRetrievers;
Expand Down

0 comments on commit ad0958d

Please sign in to comment.