From b90d6705d78a7ad60a1e0419eb27ab20927d3fdd Mon Sep 17 00:00:00 2001 From: ulrich Date: Wed, 07 Apr 2021 07:09:58 +0000 Subject: [PATCH] Piktogramme und Dropdown --- src/de/uhilger/mediaz/api/StorageHandler.java | 13 +------------ 1 files changed, 1 insertions(+), 12 deletions(-) diff --git a/src/de/uhilger/mediaz/api/StorageHandler.java b/src/de/uhilger/mediaz/api/StorageHandler.java index 72787d2..f022ada 100644 --- a/src/de/uhilger/mediaz/api/StorageHandler.java +++ b/src/de/uhilger/mediaz/api/StorageHandler.java @@ -41,7 +41,7 @@ * @author Ulrich Hilger * @version 1, 5.4.2021 */ -public class StorageHandler implements HttpHandler { +public class StorageHandler extends AbstractHandler implements HttpHandler { private static final Logger logger = Logger.getLogger(StorageHandler.class.getName()); @@ -186,17 +186,6 @@ String elemName = elems[elems.length - 1]; return fs.readJson(type, elemName); } - } - - private String jsonWithEnclosingType(Object o) { - StringBuilder sb = new StringBuilder(); - sb.append("{\""); - sb.append(o.getClass().getSimpleName()); - sb.append("\": "); - Gson gson = new Gson(); - sb.append(gson.toJson(o)); - sb.append("}"); - return sb.toString(); } private String bodyLesen(HttpExchange e) throws IOException { -- Gitblit v1.9.3