From 14638bbf3f495dcacc1ef8d7c6ecd7dabf3d17b2 Mon Sep 17 00:00:00 2001 From: ulrich Date: Fri, 09 Apr 2021 14:11:52 +0000 Subject: [PATCH] JavaScript aufgeraeumt --- src/de/uhilger/mediaz/api/AbstractHandler.java | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/src/de/uhilger/mediaz/api/AbstractHandler.java b/src/de/uhilger/mediaz/api/AbstractHandler.java index 55d2ece..45befae 100644 --- a/src/de/uhilger/mediaz/api/AbstractHandler.java +++ b/src/de/uhilger/mediaz/api/AbstractHandler.java @@ -5,7 +5,6 @@ */ package de.uhilger.mediaz.api; -import com.google.gson.Gson; import com.sun.net.httpserver.HttpExchange; import com.sun.net.httpserver.HttpHandler; import java.io.BufferedReader; @@ -13,7 +12,6 @@ import java.io.InputStream; import java.io.InputStreamReader; import java.io.OutputStream; -import java.util.logging.Level; import java.util.logging.Logger; @@ -71,7 +69,6 @@ } break; } - logger.fine(response); e.sendResponseHeaders(code, response.length()); OutputStream os = e.getResponseBody(); os.write(response.getBytes()); @@ -89,7 +86,6 @@ } r.close(); String json = sb.toString(); - logger.log(Level.FINE, "json: {0}", json); return json; } -- Gitblit v1.9.3