From: Roland Häder Date: Mon, 6 Jun 2016 13:04:47 +0000 (+0200) Subject: opps, this test is not possible here X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=71cc3b7bb9cac3dffe108376ed52184006ed00c4;p=pizzaservice-ejb.git opps, this test is not possible here --- diff --git a/src/java/org/mxchange/jusercore/model/user/PizzaUserSessionBean.java b/src/java/org/mxchange/jusercore/model/user/PizzaUserSessionBean.java index 5745479..feaf6a4 100644 --- a/src/java/org/mxchange/jusercore/model/user/PizzaUserSessionBean.java +++ b/src/java/org/mxchange/jusercore/model/user/PizzaUserSessionBean.java @@ -600,9 +600,6 @@ public class PizzaUserSessionBean extends BasePizzaDatabaseBean implements UserS } else if (this.ifUserNameExists(user.getUserName())) { // Name already found throw new UserNameAlreadyRegisteredException(user.getUserName()); - } else if (this.ifUserExists(user)) { - // User does not exist - throw new IllegalStateException("User does already exist."); //NOI18N } // Try to find the contact