src/main/java/fr/reminy/pokemon_discord/game/http/GameHttpServer.java
Method handleRequest
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void handleRequest(HttpExchange exchange) throws IOException {
Map<String, String> getParameters = queryToMap(exchange.getRequestURI().getQuery());
if (!getParameters.containsKey("player")) {
exchange.sendResponseHeaders(400, 0);