From 1177762340ebc0e7bee444ae2d7c119f697cbdbb Mon Sep 17 00:00:00 2001 From: ulrich@undisclosed Date: Sat, 02 May 2020 15:54:14 +0000 Subject: [PATCH] Kleinere Anpassungen --- src/de/uhilger/transit/web/TransitServlet.java | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/de/uhilger/transit/web/TransitServlet.java b/src/de/uhilger/transit/web/TransitServlet.java index 0c97555..9f0a7a3 100644 --- a/src/de/uhilger/transit/web/TransitServlet.java +++ b/src/de/uhilger/transit/web/TransitServlet.java @@ -19,6 +19,7 @@ import de.uhilger.transit.JavaServer; import de.uhilger.transit.JsonFlatWandler; +import de.uhilger.transit.JsonNiceWandler; import de.uhilger.transit.JsonWandler; import de.uhilger.transit.NutzerKontext; import de.uhilger.transit.XmlWandler; @@ -171,8 +172,8 @@ formatName = pWerte[0]; break; default: - for (String pWerte1 : pWerte) { - parameterListe.add(pWerte1); + for (String pWert : pWerte) { + parameterListe.add(pWert); } break; } } @@ -182,6 +183,7 @@ server = new JavaServer(); server.wandlerHinzufuegen(new JsonWandler()); server.wandlerHinzufuegen(new JsonFlatWandler()); + server.wandlerHinzufuegen(new JsonNiceWandler()); server.wandlerHinzufuegen(new XmlWandler()); Class cls = server.klasseFinden(klassenName); if (cls != null) { -- Gitblit v1.9.3