Removed unused objects
This commit is contained in:
		@@ -17,15 +17,6 @@ import org.springframework.web.server.ResponseStatusException;
 | 
				
			|||||||
@RequestMapping(path = "/vpr") // This means URL's start with /demo (after Application path)
 | 
					@RequestMapping(path = "/vpr") // This means URL's start with /demo (after Application path)
 | 
				
			||||||
public class MainController {
 | 
					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")
 | 
					    @GetMapping(path = "/status-test")
 | 
				
			||||||
    public String statusTest(){
 | 
					    public String statusTest(){
 | 
				
			||||||
        throw new ResponseStatusException(HttpStatus.I_AM_A_TEAPOT, "TestTestTest");
 | 
					        throw new ResponseStatusException(HttpStatus.I_AM_A_TEAPOT, "TestTestTest");
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user