From 709ace0e0a295db575f00f1438efe268943bec11 Mon Sep 17 00:00:00 2001 From: Rsl1122 Date: Wed, 22 Nov 2017 10:29:02 +0200 Subject: [PATCH] tiny doc & debug changes --- .../djrapitops/plan/systems/webserver/APIRequestHandler.java | 2 +- .../com/djrapitops/plan/systems/webserver/RequestHandler.java | 2 +- .../djrapitops/plan/utilities/html/tables/IpTableCreator.java | 2 +- .../plan/utilities/html/tables/NicknameTableCreator.java | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Plan/src/main/java/com/djrapitops/plan/systems/webserver/APIRequestHandler.java b/Plan/src/main/java/com/djrapitops/plan/systems/webserver/APIRequestHandler.java index 5b211f66c..65357bd67 100644 --- a/Plan/src/main/java/com/djrapitops/plan/systems/webserver/APIRequestHandler.java +++ b/Plan/src/main/java/com/djrapitops/plan/systems/webserver/APIRequestHandler.java @@ -34,7 +34,7 @@ public class APIRequestHandler implements HttpHandler { try { Response response = responseHandler.getAPIResponse(request); if (Settings.DEV_MODE.isTrue()) { - Log.debug(request.toString(), response.toString()); + Log.debug(request.toString() + " Response code: " + response.getCode()); } response.setResponseHeaders(responseHeaders); response.send(exchange); diff --git a/Plan/src/main/java/com/djrapitops/plan/systems/webserver/RequestHandler.java b/Plan/src/main/java/com/djrapitops/plan/systems/webserver/RequestHandler.java index 6903a0ec7..4e2bb2c87 100644 --- a/Plan/src/main/java/com/djrapitops/plan/systems/webserver/RequestHandler.java +++ b/Plan/src/main/java/com/djrapitops/plan/systems/webserver/RequestHandler.java @@ -36,7 +36,7 @@ public class RequestHandler implements HttpHandler { try { Response response = responseHandler.getResponse(request); if (Settings.DEV_MODE.isTrue()) { - Log.debug(request.toString(), "Response code: " + response.getCode()); + Log.debug(request.toString() + " Response code: " + response.getCode()); } if (response instanceof PromptAuthorizationResponse) { responseHeaders.set("WWW-Authenticate", "Basic realm=\"/\";"); diff --git a/Plan/src/main/java/com/djrapitops/plan/utilities/html/tables/IpTableCreator.java b/Plan/src/main/java/com/djrapitops/plan/utilities/html/tables/IpTableCreator.java index 8a6469852..0305d2fa2 100644 --- a/Plan/src/main/java/com/djrapitops/plan/utilities/html/tables/IpTableCreator.java +++ b/Plan/src/main/java/com/djrapitops/plan/utilities/html/tables/IpTableCreator.java @@ -12,7 +12,7 @@ import main.java.com.djrapitops.plan.utilities.html.Html; import java.util.List; /** - * Utility Class for creating Actions Table for inspect page. + * Utility Class for creating IP Table for inspect page. * * @author Rsl1122 */ diff --git a/Plan/src/main/java/com/djrapitops/plan/utilities/html/tables/NicknameTableCreator.java b/Plan/src/main/java/com/djrapitops/plan/utilities/html/tables/NicknameTableCreator.java index 5356d2585..9917256a3 100644 --- a/Plan/src/main/java/com/djrapitops/plan/utilities/html/tables/NicknameTableCreator.java +++ b/Plan/src/main/java/com/djrapitops/plan/utilities/html/tables/NicknameTableCreator.java @@ -11,7 +11,7 @@ import java.util.Map; import java.util.UUID; /** - * Utility Class for creating Actions Table for inspect page. + * Utility Class for creating Nicknames Table for inspect page. * * @author Rsl1122 */