| 1 | package edu.ucsb.cs156.courses.jobs; | |
| 2 | ||
| 3 |  import org.springframework.beans.factory.annotation.Autowired; | |
| 4 |  import org.springframework.stereotype.Service; | |
| 5 | ||
| 6 |  import edu.ucsb.cs156.courses.repositories.GradeHistoryRepository; | |
| 7 |  import edu.ucsb.cs156.courses.services.UCSBGradeHistoryService; | |
| 8 |  import lombok.extern.slf4j.Slf4j; | |
| 9 | ||
| 10 |  @Service | |
| 11 |  public class UploadGradeDataJobFactory { | |
| 12 | ||
| 13 |      @Autowired | |
| 14 |      UCSBGradeHistoryService ucsbGradeHistoryService; | |
| 15 | ||
| 16 |      @Autowired | |
| 17 |      GradeHistoryRepository gradeHistoryRepository; | |
| 18 | ||
| 19 |      public UploadGradeDataJob create() { | |
| 20 | 
1
1. create : replaced return value with null for edu/ucsb/cs156/courses/jobs/UploadGradeDataJobFactory::create → KILLED | 
         return new UploadGradeDataJob( | 
| 21 |                  ucsbGradeHistoryService, | |
| 22 |                  gradeHistoryRepository); | |
| 23 |      } | |
| 24 |  } | |
Mutations | ||
| 20 | 
 
 1.1  |