Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
afoucret committed Jan 16, 2024
1 parent 3917790 commit 1e535a5
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,8 @@ protected LearningToRankRescorerBuilder createTestInstance() {

@Override
protected LearningToRankRescorerBuilder createXContextTestInstance(XContentType xContentType) {
return new LearningToRankRescorerBuilder(
randomAlphaOfLength(10),
randomBoolean() ? randomParams() : null,
learningToRankService
).windowSize(randomIntBetween(1, 10000));
return new LearningToRankRescorerBuilder(randomAlphaOfLength(10), randomBoolean() ? randomParams() : null, learningToRankService)
.windowSize(randomIntBetween(1, 10000));
}

@Override
Expand Down

0 comments on commit 1e535a5

Please sign in to comment.