Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
PabloSanchi committed Jul 25, 2024
1 parent e53acac commit 4d4883a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,11 +133,8 @@ public Sentence build() {
public List<Sentence> splitSentences(String content) {
AtomicInteger index = new AtomicInteger(0);
return Arrays.stream(content.split(sentenceSplitingStategy.toString()))
.map(sentence -> Sentence.builder()
.content(sentence)
.index(index.getAndIncrement())
.build())
.collect(Collectors.toList());
.map(sentence -> Sentence.builder().content(sentence).index(index.getAndIncrement()).build())
.collect(Collectors.toList());
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -237,5 +237,4 @@ public void testZeroVectors() {
assertThat(result).isNaN();
}


}

0 comments on commit 4d4883a

Please sign in to comment.