mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-11 16:26:22 +00:00
Cleanup - More Lambdas to method references
This commit is contained in:
@@ -45,7 +45,7 @@ class Documents {
|
||||
//System.out.println(docID);
|
||||
//System.out.println(bow.getWords(docID).toString());
|
||||
return bow.getWords(docID).stream()
|
||||
.map(id -> vocabs.get(id))
|
||||
.map(vocabs::get)
|
||||
.collect(Collectors.toList());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user