| 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 | /** This class contains a `run` method that is called once at application startup time. */ | |
| 10 | @Slf4j | |
| 11 | @Configuration | |
| 12 | public class FrontiersApplicationRunner implements ApplicationRunner { | |
| 13 | ||
| 14 | @Autowired FrontiersStartup frontiersStartup; | |
| 15 | ||
| 16 | /** Called once at application startup time */ | |
| 17 | @Override | |
| 18 | public void run(ApplicationArguments args) throws Exception { | |
| 19 | log.info("FrontiersApplicationRunner.run called"); | |
| 20 |
1
1. run : removed call to edu/ucsb/cs156/frontiers/startup/FrontiersStartup::alwaysRunOnStartup → KILLED |
frontiersStartup.alwaysRunOnStartup(); |
| 21 | } | |
| 22 | } | |
Mutations | ||
| 20 |
1.1 |