]> git.mxchange.org Git - addressbook-war.git/blobdiff - src/java/org/mxchange/addressbook/beans/user/AddressbookAdminUserWebRequestBean.java
Removed all clear() methods in request-scoped beans as it makes no sense to clear...
[addressbook-war.git] / src / java / org / mxchange / addressbook / beans / user / AddressbookAdminUserWebRequestBean.java
index 1805a99bcdc1a962bc58eb3b78f54a93a65c0bc6..07612f5bd99e25ff46ea24b00afc25d383739bf0 100644 (file)
@@ -183,9 +183,6 @@ public class AddressbookAdminUserWebRequestBean implements AddressbookAdminUserW
                // Add user to local list
                this.userList.add(updatedUser);
 
-               // Clear all
-               this.clear();
-
                // Clear contact instance
                this.contactController.clear();
        }
@@ -282,16 +279,6 @@ public class AddressbookAdminUserWebRequestBean implements AddressbookAdminUserW
                return user;
        }
 
-       /**
-        * Clears this bean
-        */
-       private void clear () {
-               // Clear all
-               this.setUserName(null);
-               this.setUserPassword(null);
-               this.setUserPasswordRepeat(null);
-       }
-
        /**
         * Checks if same password is entered and that they are not empty.
         * <p>