1 | package edu.ucsb.cs156.courses.services; | |
2 | ||
3 | import com.opencsv.bean.StatefulBeanToCsv; | |
4 | import com.opencsv.bean.StatefulBeanToCsvBuilder; | |
5 | import edu.ucsb.cs156.courses.models.SectionCSVLine; | |
6 | import java.io.IOException; | |
7 | import java.io.Writer; | |
8 | import lombok.extern.slf4j.Slf4j; | |
9 | import org.springframework.stereotype.Service; | |
10 | ||
11 | @Service("sectionCSVLineService") | |
12 | @Slf4j | |
13 | public class SectionCSVLineService { | |
14 | public StatefulBeanToCsv<SectionCSVLine> getStatefulBeanToCSV(Writer writer) throws IOException { | |
15 |
1
1. getStatefulBeanToCSV : replaced return value with null for edu/ucsb/cs156/courses/services/SectionCSVLineService::getStatefulBeanToCSV → KILLED |
return new StatefulBeanToCsvBuilder<SectionCSVLine>(writer).build(); |
16 | } | |
17 | } | |
Mutations | ||
15 |
1.1 |