HSAdmin Backend Domains, E-Mail, Datenbanken
Peter Hormanns
2019-06-12 f2d9c3b4a8f5d67b395e15fbcbb599fb50170e41
fix json syntax
1 files modified
6 ■■■■ changed files
hsarback/src/de/hsadmin/pillar/JsonPillarServlet.java 6 ●●●● patch | view | raw | blame | history
hsarback/src/de/hsadmin/pillar/JsonPillarServlet.java
@@ -52,13 +52,13 @@
        final PrintWriter writer = resp.getWriter();
        writer.println("{");
        writer.println("  \"hivename\": \"" + hive.getHiveName() + "\"");
        writer.println("  \"hiveipv4\": \"" + hive.getInetAddr().getInet4Addr() + "\"");
        writer.println("  , \"hiveipv4\": \"" + hive.getInetAddr().getInet4Addr() + "\"");
        try {
            writer.println("  \"hiveipv6\": \"" + hive.getInetAddr().getInet6Addr() + "\"");
            writer.println("  , \"hiveipv6\": \"" + hive.getInetAddr().getInet6Addr() + "\"");
        } catch (ProcessorException e) {
            // dont care
        }
        writer.println("  \"pacs\": [");
        writer.println("  , \"pacs\": [");
        final Iterator<?> pacsIterator = pacsResult.iterator();
        boolean firstLoop = true;
        while (pacsIterator.hasNext()) {