| 1 | package edu.ucsb.cs156.frontiers.startup; | |
| 2 | ||
| 3 | import lombok.extern.slf4j.Slf4j; | |
| 4 | import org.springframework.boot.ApplicationArguments; | |
| 5 | import org.springframework.boot.ApplicationRunner; | |
| 6 | import org.springframework.stereotype.Component; | |
| 7 | ||
| 8 | @Slf4j | |
| 9 | @Component | |
| 10 | public class FrontiersApplicationRunner implements ApplicationRunner { | |
| 11 | ||
| 12 |   private final FrontiersStartup frontiersStartup; | |
| 13 | ||
| 14 |   public FrontiersApplicationRunner(FrontiersStartup frontiersStartup) { | |
| 15 |     this.frontiersStartup = frontiersStartup; | |
| 16 |   } | |
| 17 | ||
| 18 |   @Override | |
| 19 |   public void run(ApplicationArguments args) { | |
| 20 |     log.info("FrontiersApplicationRunner.run called"); | |
| 21 | 
1
1. run : removed call to edu/ucsb/cs156/frontiers/startup/FrontiersStartup::alwaysRunOnStartup → KILLED | 
    frontiersStartup.alwaysRunOnStartup(); | 
| 22 |   } | |
| 23 | } | |
Mutations | ||
| 21 | 
 
 1.1  |