Skip to content

Commit 16b4682

Browse files
Merge pull request #73 from naudzghebre/document_matches
Minor typo on 'matches'.
2 parents b2883ab + b3006ae commit 16b4682

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/intuit/fuzzymatcher/component/DocumentMatch.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@ public Stream<Match<Document>> matchDocuments(Stream<Document> documents) {
4141
}
4242

4343
private Stream<Match<Document>> documentThresholdMatching(Document document, Set<Match<Element>> matchingElements) {
44-
Map<Document, List<Match<Element>>> mathes = matchingElements.stream()
44+
Map<Document, List<Match<Element>>> matches = matchingElements.stream()
4545
.collect(Collectors.groupingBy(matchElement -> matchElement.getMatchedWith().getDocument()));
4646

47-
Stream<Match<Document>> result = mathes.entrySet().stream().flatMap(matchEntry -> {
47+
Stream<Match<Document>> result = matches.entrySet().stream().flatMap(matchEntry -> {
4848

4949
List<Score> childScoreList = matchEntry.getValue()
5050
.stream()

0 commit comments

Comments
 (0)