This commit is contained in:
Clément Fournier
2020-03-30 10:50:19 +02:00
parent b243c05232
commit 5d80e6d1ff

View File

@@ -121,7 +121,7 @@ final class AstClassSym
this.declaredFields = Collections.unmodifiableList(myFields);
}
private ArrayList<JFieldSymbol> mapComponentsToMutableList(AstSymFactory factory, ASTRecordComponentList components) {
private List<JFieldSymbol> mapComponentsToMutableList(AstSymFactory factory, ASTRecordComponentList components) {
return components.toStream()
.collect(Collectors.mapping(comp -> new AstFieldSym(comp.getVarId(), factory, this),
Collectors.toCollection(ArrayList::new)));