From 71cc3b7bb9cac3dffe108376ed52184006ed00c4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Mon, 6 Jun 2016 15:04:47 +0200 Subject: [PATCH] opps, this test is not possible here --- .../mxchange/jusercore/model/user/PizzaUserSessionBean.java | 3 --- 1 file changed, 3 deletions(-) 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 -- 2.39.5