fix variable error

This commit is contained in:
Peter Hormanns 2019-07-29 18:19:48 +02:00
parent b137b45b38
commit 02d870eca2
2 changed files with 1 additions and 2 deletions

View File

@ -132,7 +132,7 @@ public class DomainProcessorFactory implements EntityProcessorFactory {
} }
} }
final Query pacsQuery = em.createQuery("SELECT p FROM Pacs p WHERE p.hive.name = :hivename"); 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(); final List<?> pacsList = pacsQuery.getResultList();
for (final Object obj : pacsList) { for (final Object obj : pacsList) {
if (obj instanceof Pac) { if (obj instanceof Pac) {

View File

@ -20,7 +20,6 @@ import de.hsadmin.core.model.Transaction;
import de.hsadmin.core.qserv.ProcessorException; import de.hsadmin.core.qserv.ProcessorException;
import de.hsadmin.core.util.IPv6Trick; import de.hsadmin.core.util.IPv6Trick;
import de.hsadmin.mods.dom.Domain; import de.hsadmin.mods.dom.Domain;
import de.hsadmin.mods.dom.DomainOption;
import de.hsadmin.mods.pac.Hive; import de.hsadmin.mods.pac.Hive;
import de.hsadmin.mods.pac.INetAddress; import de.hsadmin.mods.pac.INetAddress;
import de.hsadmin.mods.pac.Pac; import de.hsadmin.mods.pac.Pac;