From 7491df67619c0ada7fbb906b1e21e6b41e32ed38 Mon Sep 17 00:00:00 2001 From: revengel66 Date: Tue, 9 Apr 2024 09:58:27 +0400 Subject: [PATCH] lab1 edit --- build.gradle | 2 +- src/main/java/com/example/demo/ApiController.java | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index 2263922..45ea1b9 100644 --- a/build.gradle +++ b/build.gradle @@ -1,6 +1,6 @@ plugins { id 'java' - id 'org.springframework.boot' version '3.2.2' + id 'org.springframework.boot' version '3.2.4' id 'io.spring.dependency-management' version '1.1.4' } diff --git a/src/main/java/com/example/demo/ApiController.java b/src/main/java/com/example/demo/ApiController.java index 2e553c8..6cc8f79 100644 --- a/src/main/java/com/example/demo/ApiController.java +++ b/src/main/java/com/example/demo/ApiController.java @@ -3,7 +3,6 @@ package com.example.demo; import java.util.ArrayList; import java.util.List; -import org.slf4j.LoggerFactory; import org.springframework.web.bind.annotation.DeleteMapping; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PathVariable; @@ -16,7 +15,6 @@ import org.springframework.web.bind.annotation.RestController; @RestController @RequestMapping("/api") public class ApiController { - private final Logger log = LoggerFactory.getLogger(ApiController.class); List objects = new ArrayList<>(); @GetMapping