Комит перед созданием ветви

This commit is contained in:
Safgerd 2023-03-06 01:02:53 +04:00
parent 0f30ec0e19
commit 382e4729fb

View File

@ -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;
}