WarInitializerApplication formatting fixes
package com.baeldung.servletinitializer;
-
-
-
import java.time.LocalDateTime;
import org.springframework.boot.SpringApplication;
@@ -32,8 +29,7 @@ public class WarInitializerApplication extends SpringBootServletInitializer {
@RequestMapping("/")
public String handler(Model model) {
- model.addAttribute("date",
- LocalDateTime.now());
+ model.addAttribute("date", LocalDateTime.now());
return "WarInitializerApplication is up and running!";
}
}
