From 095dd861c5a3b6d1f40903224fb022e6a809a9ff Mon Sep 17 00:00:00 2001 From: Marc Beyer Date: Fri, 11 Feb 2022 05:41:10 +0100 Subject: [PATCH] Removed unused objects --- .../java/com/vpr/server/controller/MainController.java | 9 --------- 1 file changed, 9 deletions(-) diff --git a/server/src/main/java/com/vpr/server/controller/MainController.java b/server/src/main/java/com/vpr/server/controller/MainController.java index 3f4cbcd..af9c860 100644 --- a/server/src/main/java/com/vpr/server/controller/MainController.java +++ b/server/src/main/java/com/vpr/server/controller/MainController.java @@ -17,15 +17,6 @@ import org.springframework.web.server.ResponseStatusException; @RequestMapping(path = "/vpr") // This means URL's start with /demo (after Application path) public class MainController { - // This means to get the bean called userRepository - // Which is auto-generated by Spring, we will use it to handle the data - @Autowired - private UserRepository userRepository; - @Autowired - private EventRepository eventRepository; - @Autowired - private UserEventRepository userEventRepository; - @GetMapping(path = "/status-test") public String statusTest(){ throw new ResponseStatusException(HttpStatus.I_AM_A_TEAPOT, "TestTestTest");