]> git.mxchange.org Git - pizzaservice-ejb.git/commitdiff
opps, this test is not possible here
authorRoland Häder <roland@mxchange.org>
Mon, 6 Jun 2016 13:04:47 +0000 (15:04 +0200)
committerRoland Haeder <roland@mxchange.org>
Wed, 27 Jul 2016 19:59:31 +0000 (21:59 +0200)
src/java/org/mxchange/jusercore/model/user/PizzaUserSessionBean.java

index 5745479dc3d5d53dfc6d6f73bee6a586a4423fb4..feaf6a424b83398b3728a753aa07ad6c3a6b9d00 100644 (file)
@@ -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