HSAdmin Backend Domains, E-Mail, Datenbanken
Peter Hormanns
2019-06-18 90d7030c6ad523d757695d15870d66c0809507b1
java 6
2 files modified
4 ■■■■ changed files
hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java 2 ●●● patch | view | raw | blame | history
hsarback/src/de/hsadmin/mods/pac/PacProcessorFactory.java 2 ●●● patch | view | raw | blame | history
hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java
@@ -112,7 +112,7 @@
        final Query domsQuery = em.createQuery("SELECT d FROM Domains d WHERE d.user.pac.hive.name = :hivename");    
        domsQuery.setParameter("hivename", hiveName);
        final List<?> domsList = domsQuery.getResultList();
        final Set<String> domsNames = new HashSet<>();
        final Set<String> domsNames = new HashSet<String>();
        for (final Object obj : domsList) {
            if (obj instanceof Domain) {
                domsNames.add(((Domain) obj).getName());
hsarback/src/de/hsadmin/mods/pac/PacProcessorFactory.java
@@ -150,7 +150,7 @@
        final Query domsQuery = em.createQuery("SELECT d FROM Domains d WHERE d.user.pac.hive.name = :hivename");    
        domsQuery.setParameter("hivename", hiveName);
        final List<?> domsList = domsQuery.getResultList();
        final Set<String> domsNames = new HashSet<>();
        final Set<String> domsNames = new HashSet<String>();
        for (final Object obj : domsList) {
            if (obj instanceof Domain) {
                domsNames.add(((Domain) obj).getName());