use of com.thoughtworks.go.domain.ModificationVisitorAdapter in project gocd by gocd.
the class BuildCause method materials.
public Materials materials() {
final List<Material> materials = new ArrayList<>();
materialRevisions.accept(new ModificationVisitorAdapter() {
public void visit(Material material, Revision revision) {
materials.add(material);
}
});
return new Materials(materials);
}
Aggregations