fix java6 syntax
This commit is contained in:
parent
77f0da467f
commit
8b7cbc8de5
@ -49,7 +49,7 @@ public class JsonPillarServlet extends HttpServlet {
|
||||
hiveQuery.setParameter("hive", hiveName);
|
||||
final Object hiveResult = hiveQuery.getSingleResult();
|
||||
final Hive hive = (Hive) hiveResult;
|
||||
final List<String> dnsZones = new ArrayList<>();
|
||||
final List<String> dnsZones = new ArrayList<String>();
|
||||
final Query pacsQuery = em.createQuery("SELECT p FROM Pacs p WHERE p.hive.name = :hive AND p.basepac.name = 'PAC/WEB'");
|
||||
pacsQuery.setParameter("hive", hiveName);
|
||||
final List<?> pacsResult = pacsQuery.getResultList();
|
||||
|
Loading…
Reference in New Issue
Block a user