From 02d870eca21a9807e0df5f39afa18440b60c256c Mon Sep 17 00:00:00 2001
From: Peter Hormanns <peter.hormanns@jalin.de>
Date: Mon, 29 Jul 2019 18:19:48 +0200
Subject: [PATCH] fix variable error

---
 hsarback/src/de/hsadmin/pillar/JsonPillarServlet.java        |    1 -
 hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java |    2 +-
 2 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java b/hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java
index dfdcbe9..8c40816 100644
--- a/hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java
+++ b/hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java
@@ -132,7 +132,7 @@
 			}
 		}
 		final Query pacsQuery = em.createQuery("SELECT p FROM Pacs p WHERE p.hive.name = :hivename");	
-		domsQuery.setParameter("hivename", hiveName);
+		pacsQuery.setParameter("hivename", hiveName);
 		final List<?> pacsList = pacsQuery.getResultList();
 		for (final Object obj : pacsList) {
 			if (obj instanceof Pac) {
diff --git a/hsarback/src/de/hsadmin/pillar/JsonPillarServlet.java b/hsarback/src/de/hsadmin/pillar/JsonPillarServlet.java
index a1c8258..37c0761 100644
--- a/hsarback/src/de/hsadmin/pillar/JsonPillarServlet.java
+++ b/hsarback/src/de/hsadmin/pillar/JsonPillarServlet.java
@@ -20,7 +20,6 @@
 import de.hsadmin.core.qserv.ProcessorException;
 import de.hsadmin.core.util.IPv6Trick;
 import de.hsadmin.mods.dom.Domain;
-import de.hsadmin.mods.dom.DomainOption;
 import de.hsadmin.mods.pac.Hive;
 import de.hsadmin.mods.pac.INetAddress;
 import de.hsadmin.mods.pac.Pac;

--
Gitblit v1.9.0-SNAPSHOT