From 975df40bb7391e33bcea822a1ce99b7760091f88 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sat, 23 Sep 2017 01:20:59 +0200 Subject: [PATCH] Continued: - these methods where just wrapping calls of same methods in user EJB - so let's get rid of this double-redundant code MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- .../UserRegistrationSessionBeanRemote.java | 17 ----------------- 1 file changed, 17 deletions(-) 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); } -- 2.39.5