fix typo
This commit is contained in:
parent
5186190ce9
commit
1828646653
@ -157,7 +157,7 @@ public class AutoconfigAutodiscoverServlet extends HttpServlet {
|
|||||||
final Query mboxQuery = em.createQuery("SELECT mbox FROM UnixUsers mbox WHERE mbox.name = :target");
|
final Query mboxQuery = em.createQuery("SELECT mbox FROM UnixUsers mbox WHERE mbox.name = :target");
|
||||||
mboxQuery.setParameter("target", target);
|
mboxQuery.setParameter("target", target);
|
||||||
final Object mboxResult = mboxQuery.getSingleResult();
|
final Object mboxResult = mboxQuery.getSingleResult();
|
||||||
if (mboxResult == null || !(mboxQuery instanceof UnixUser)) {
|
if (mboxResult == null || !(mboxResult instanceof UnixUser)) {
|
||||||
transaction.close();
|
transaction.close();
|
||||||
throw new HSAdminException("no unique mailbox found");
|
throw new HSAdminException("no unique mailbox found");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user