From 382e4729fb730fced515cb40d26abfaed20fb684 Mon Sep 17 00:00:00 2001 From: Safgerd Date: Mon, 6 Mar 2023 01:02:53 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9A=D0=BE=D0=BC=D0=B8=D1=82=20=D0=BF=D0=B5?= =?UTF-8?q?=D1=80=D0=B5=D0=B4=20=D1=81=D0=BE=D0=B7=D0=B4=D0=B0=D0=BD=D0=B8?= =?UTF-8?q?=D0=B5=D0=BC=20=D0=B2=D0=B5=D1=82=D0=B2=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/ru/ulstu/is/labwork/LabworkApplication.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/ru/ulstu/is/labwork/LabworkApplication.java b/src/main/java/ru/ulstu/is/labwork/LabworkApplication.java index e99cf97..65fff25 100644 --- a/src/main/java/ru/ulstu/is/labwork/LabworkApplication.java +++ b/src/main/java/ru/ulstu/is/labwork/LabworkApplication.java @@ -9,7 +9,6 @@ import org.springframework.web.bind.annotation.RestController; @SpringBootApplication @RestController public class LabworkApplication { - public static void main(String[] args) { SpringApplication.run(LabworkApplication.class, args); } @@ -32,7 +31,7 @@ public class LabworkApplication { } @GetMapping("/mul") public int mul( @RequestParam(value = "num1", defaultValue = "0") int num1, - @RequestParam(value = "num2", defaultValue = "0") int num2) + @RequestParam(value = "num2", defaultValue = "0") int num2) { return num1 * num2; }