From 1f4a76632b5b34cdd3ba819734ff58ba6b9cde10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=92=D0=BE=D0=BB=D0=BA=D0=BE=D0=B2=20=D0=9D=D0=B8=D0=BA?= =?UTF-8?q?=D0=B8=D1=82=D0=B0=20=D0=9F=D0=B5=D1=82=D1=80=D0=BE=D0=B2=D0=B8?= =?UTF-8?q?=D1=87?= Date: Wed, 1 May 2024 12:28:27 +0300 Subject: [PATCH] fix codeclimate --- .../vk/itmo/test/volkovnikita/HttpServerImpl.java | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/src/main/java/ru/vk/itmo/test/volkovnikita/HttpServerImpl.java b/src/main/java/ru/vk/itmo/test/volkovnikita/HttpServerImpl.java index 7c644c419..3420a527e 100644 --- a/src/main/java/ru/vk/itmo/test/volkovnikita/HttpServerImpl.java +++ b/src/main/java/ru/vk/itmo/test/volkovnikita/HttpServerImpl.java @@ -1,6 +1,11 @@ package ru.vk.itmo.test.volkovnikita; -import one.nio.http.*; +import one.nio.http.HttpException; +import one.nio.http.HttpServer; +import one.nio.http.HttpServerConfig; +import one.nio.http.HttpSession; +import one.nio.http.Request; +import one.nio.http.Response; import one.nio.net.Session; import one.nio.net.Socket; import one.nio.server.AcceptorConfig; @@ -33,7 +38,11 @@ import java.util.Iterator; import java.util.List; import java.util.Optional; -import java.util.concurrent.*; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.CopyOnWriteArrayList; +import java.util.concurrent.ExecutorService; +import java.util.concurrent.Executors; +import java.util.concurrent.RejectedExecutionException; import java.util.concurrent.atomic.AtomicInteger; import java.util.stream.Collectors;