1 | package edu.ucsb.cs156.happiercows.jobs; | |
2 | ||
3 | import org.springframework.beans.factory.annotation.Autowired; | |
4 | import org.springframework.stereotype.Service; | |
5 | ||
6 | import edu.ucsb.cs156.happiercows.services.ReportService; | |
7 | import edu.ucsb.cs156.happiercows.services.jobs.JobContextConsumer; | |
8 | ||
9 | @Service | |
10 | public class InstructorReportJobSingleCommonsFactory { | |
11 | ||
12 | @Autowired | |
13 | private ReportService reportService; | |
14 | ||
15 | public JobContextConsumer create(long commonsId) { | |
16 |
1
1. create : replaced return value with null for edu/ucsb/cs156/happiercows/jobs/InstructorReportJobSingleCommonsFactory::create → KILLED |
return new InstructorReportJobSingleCommons(commonsId, reportService); |
17 | } | |
18 | | |
19 | } | |
Mutations | ||
16 |
1.1 |