From 1c5cf3097c7d102a3971a015592a58a7433a2828 Mon Sep 17 00:00:00 2001 From: Alexander-D-Karpov Date: Tue, 17 Sep 2024 02:12:52 +0300 Subject: [PATCH] minor fixes --- src/main/java/PointCheckerServer.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/PointCheckerServer.java b/src/main/java/PointCheckerServer.java index a33f67d..b7742c8 100644 --- a/src/main/java/PointCheckerServer.java +++ b/src/main/java/PointCheckerServer.java @@ -2,7 +2,6 @@ import com.fastcgi.FCGIInterface; import java.io.IOException; import java.nio.charset.StandardCharsets; -import java.util.HashMap; import java.util.Map; import java.io.BufferedReader; import java.io.InputStreamReader; @@ -84,7 +83,7 @@ public class PointCheckerServer { System.out.printf((RESPONSE_TEMPLATE) + "%n", jsonDump.getBytes(StandardCharsets.UTF_8).length, jsonDump); } - private static Map parseParams(String data) throws Exception { + private static Map parseParams(String data) { return Params.parse(data); } }