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