From: Roland Häder Date: Fri, 22 Sep 2017 23:20:59 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=975df40bb7391e33bcea822a1ce99b7760091f88;p=juser-login-lib.git Continued: - these methods where just wrapping calls of same methods in user EJB - so let's get rid of this double-redundant code Signed-off-by: Roland Häder --- diff --git a/src/org/mxchange/juserlogincore/model/user/register/UserRegistrationSessionBeanRemote.java b/src/org/mxchange/juserlogincore/model/user/register/UserRegistrationSessionBeanRemote.java index 55517b1..c9c9a9e 100644 --- a/src/org/mxchange/juserlogincore/model/user/register/UserRegistrationSessionBeanRemote.java +++ b/src/org/mxchange/juserlogincore/model/user/register/UserRegistrationSessionBeanRemote.java @@ -58,21 +58,4 @@ public interface UserRegistrationSessionBeanRemote extends Serializable { */ User registerUser (final User user, final String baseUrl, final String randomPassword) throws UserNameAlreadyRegisteredException, EmailAddressAlreadyRegisteredException; - /** - * Checks if the user's name is already registered - *

- * @param user User instance to check - *

- * @return Whether the user's name has already been registered - */ - boolean isUserNameRegistered (final User user); - - /** - * Checks if the user's email address is already registered - *

- * @param user User instance to check - *

- * @return Whether the user's email address has already been registered - */ - boolean isEmailAddressRegistered (final User user); }