From: Roland Haeder Date: Tue, 3 May 2016 19:55:57 +0000 (+0200) Subject: tpzo fixed ... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2883cfbc7217782dc155590987db3766eacefa33;p=pizzaservice-mailer-ejb.git tpzo fixed ... --- diff --git a/src/java/org/mxchange/jusercore/model/register/AddressbookUserRegistrationSessionBean.java b/src/java/org/mxchange/jusercore/model/register/AddressbookUserRegistrationSessionBean.java index e366164..32cf647 100644 --- a/src/java/org/mxchange/jusercore/model/register/AddressbookUserRegistrationSessionBean.java +++ b/src/java/org/mxchange/jusercore/model/register/AddressbookUserRegistrationSessionBean.java @@ -59,7 +59,7 @@ public class AddressbookUserRegistrationSessionBean extends BaseDatabaseBean imp } // Call other bean - return this.userBean.isEmailAddressReqistered(user); + return this.userBean.isEmailAddressRegistered(user); } @Override @@ -77,7 +77,7 @@ public class AddressbookUserRegistrationSessionBean extends BaseDatabaseBean imp } // Call other bean - return this.userBean.isUserNameReqistered(user); + return this.userBean.isUserNameRegistered(user); } @Override diff --git a/src/java/org/mxchange/jusercore/model/user/AddressbookUserSessionBean.java b/src/java/org/mxchange/jusercore/model/user/AddressbookUserSessionBean.java index 7a53af4..c303a08 100644 --- a/src/java/org/mxchange/jusercore/model/user/AddressbookUserSessionBean.java +++ b/src/java/org/mxchange/jusercore/model/user/AddressbookUserSessionBean.java @@ -402,9 +402,9 @@ public class AddressbookUserSessionBean extends BaseAddressbookDatabaseBean impl } @Override - public boolean isEmailAddressReqistered (final User user) { + public boolean isEmailAddressRegistered (final User user) { // Trace message - this.getLoggerBeanLocal().logTrace(MessageFormat.format("isEmailAddressReqistered: user={0} - CALLED!", user)); //NOI18N + this.getLoggerBeanLocal().logTrace(MessageFormat.format("isEmailAddressRegistered: user={0} - CALLED!", user)); //NOI18N // user should not be null if (null == user) { @@ -423,10 +423,10 @@ public class AddressbookUserSessionBean extends BaseAddressbookDatabaseBean impl User dummy = (User) query.getSingleResult(); // Debug message - this.getLoggerBeanLocal().logDebug(MessageFormat.format("isEmailAddressReqistered: dummy.id={0} found.", dummy.getUserId())); //NOI18N + this.getLoggerBeanLocal().logDebug(MessageFormat.format("isEmailAddressRegistered: dummy.id={0} found.", dummy.getUserId())); //NOI18N } catch (final NoResultException ex) { // Log it - this.getLoggerBeanLocal().logDebug(MessageFormat.format("isEmailAddressReqistered: getSingleResult() returned no result: {0}", ex)); //NOI18N + this.getLoggerBeanLocal().logDebug(MessageFormat.format("isEmailAddressRegistered: getSingleResult() returned no result: {0}", ex)); //NOI18N // Email address does not exist return false; @@ -443,9 +443,9 @@ public class AddressbookUserSessionBean extends BaseAddressbookDatabaseBean impl } @Override - public boolean isUserNameReqistered (final User user) { + public boolean isUserNameRegistered (final User user) { // Trace message - this.getLoggerBeanLocal().logTrace(MessageFormat.format("isUserNameReqistered: user={0} - CALLED!", user)); //NOI18N + this.getLoggerBeanLocal().logTrace(MessageFormat.format("isUserNameRegistered: user={0} - CALLED!", user)); //NOI18N // user should not be null if (null == user) { @@ -464,10 +464,10 @@ public class AddressbookUserSessionBean extends BaseAddressbookDatabaseBean impl User dummy = (User) query.getSingleResult(); // Debug message - this.getLoggerBeanLocal().logDebug(MessageFormat.format("isUserNameReqistered: dummy.id={0} found.", dummy.getUserId())); //NOI18N + this.getLoggerBeanLocal().logDebug(MessageFormat.format("isUserNameRegistered: dummy.id={0} found.", dummy.getUserId())); //NOI18N } catch (final NoResultException ex) { // Log it - this.getLoggerBeanLocal().logDebug(MessageFormat.format("isUserNameReqistered: getSingleResult() returned no result: {0}", ex)); //NOI18N + this.getLoggerBeanLocal().logDebug(MessageFormat.format("isUserNameRegistered: getSingleResult() returned no result: {0}", ex)); //NOI18N // User name does not exist return false;