From 56c5310cf9c94817f223d7c58ec9f564fea936b9 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Tue, 3 May 2016 21:55:54 +0200 Subject: [PATCH] tpzo fixed ... --- .../JobsUserRegistrationSessionBean.java | 4 ++-- .../model/user/JobsUserSessionBean.java | 16 ++++++++-------- 2 files changed, 10 insertions(+), 10 deletions(-) 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; -- 2.39.5