| 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 | import org.springframework.context.annotation.Profile; | |
| 9 | ||
| 10 | /** This class contains a `run` method that is called once at application startup time. */ | |
| 11 | @Slf4j | |
| 12 | @Configuration | |
| 13 | public class FrontiersApplicationRunner implements ApplicationRunner { | |
| 14 | ||
| 15 |   @Autowired FrontiersStartup frontiersStartup; | |
| 16 | ||
| 17 |   /** Called once at application startup time */ | |
| 18 |   @Override | |
| 19 |   public void run(ApplicationArguments args) throws Exception { | |
| 20 |     log.info("FrontiersApplicationRunnerDevelopment.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  |