From: Roland Haeder Date: Tue, 3 May 2016 19:55:54 +0000 (+0200) Subject: tpzo fixed ... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=56c5310cf9c94817f223d7c58ec9f564fea936b9;p=jjobs-ejb.git tpzo fixed ... --- diff --git a/src/java/org/mxchange/jusercore/model/register/JobsUserRegistrationSessionBean.java b/src/java/org/mxchange/jusercore/model/register/JobsUserRegistrationSessionBean.java index c0472a0..883d5c9 100644 --- a/src/java/org/mxchange/jusercore/model/register/JobsUserRegistrationSessionBean.java +++ b/src/java/org/mxchange/jusercore/model/register/JobsUserRegistrationSessionBean.java @@ -59,7 +59,7 @@ public class JobsUserRegistrationSessionBean extends BaseJobsDatabaseBean implem } // Call other bean - return this.userBean.isEmailAddressReqistered(user); + return this.userBean.isEmailAddressRegistered(user); } @Override @@ -77,7 +77,7 @@ public class JobsUserRegistrationSessionBean extends BaseJobsDatabaseBean implem } // Call other bean - return this.userBean.isUserNameReqistered(user); + return this.userBean.isUserNameRegistered(user); } @Override diff --git a/src/java/org/mxchange/jusercore/model/user/JobsUserSessionBean.java b/src/java/org/mxchange/jusercore/model/user/JobsUserSessionBean.java index 2291db8..5b7b6ae 100644 --- a/src/java/org/mxchange/jusercore/model/user/JobsUserSessionBean.java +++ b/src/java/org/mxchange/jusercore/model/user/JobsUserSessionBean.java @@ -402,9 +402,9 @@ public class JobsUserSessionBean extends BaseJobsDatabaseBean implements UserSes } @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 JobsUserSessionBean extends BaseJobsDatabaseBean implements UserSes 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 JobsUserSessionBean extends BaseJobsDatabaseBean implements UserSes } @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 JobsUserSessionBean extends BaseJobsDatabaseBean implements UserSes 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;