]> git.mxchange.org Git - jjobs-war.git/commitdiff
Contined a bit:
authorRoland Häder <roland@mxchange.org>
Tue, 3 May 2016 11:33:38 +0000 (13:33 +0200)
committerRoland Haeder <roland@mxchange.org>
Thu, 5 May 2016 18:29:04 +0000 (20:29 +0200)
- sorted imports
- first @Observes then final

Signed-off-by: Roland Häder <roland@mxchange.org>
src/java/org/mxchange/jjobs/beans/addressbook/JobsAddressbookWebSessionBean.java
src/java/org/mxchange/jjobs/beans/contact/JobsContactWebSessionBean.java
src/java/org/mxchange/jjobs/beans/helper/JobsAdminWebRequestHelper.java
src/java/org/mxchange/jjobs/validators/password/JobsUserPasswordValidator.java

index e232ee8d1dda0be77e0663e53a7ef0282159a5dc..1a4419142180706d1f4a8e8a2c1d517888dd64b3 100644 (file)
@@ -163,7 +163,7 @@ public class JobsAddressbookWebSessionBean implements JobsAddressbookWebSessionC
        }
 
        @Override
-       public void afterAddressbookLoadedEvent (final @Observes AddressbookLoadedEvent event) {
+       public void afterAddressbookLoadedEvent (@Observes final AddressbookLoadedEvent event) {
                // event should not be null
                if (null == event) {
                        // Throw NPE
@@ -196,7 +196,7 @@ public class JobsAddressbookWebSessionBean implements JobsAddressbookWebSessionC
        }
 
        @Override
-       public void afterLoginEvent (final @Observes UserLoggedInEvent event) {
+       public void afterLoginEvent (@Observes final UserLoggedInEvent event) {
                // Is the user logged in?
                if (null == event) {
                        // Is null
index e9a8badf8391c0110d344834ec69bb1cc28eef9b..be0be4d9d94655b19a4788eb13cbc1b977d2acc8 100644 (file)
@@ -273,7 +273,7 @@ public class JobsContactWebSessionBean implements JobsContactWebSessionControlle
        }
 
        @Override
-       public void afterRegistrationEvent (final @Observes UserRegisteredEvent event) {
+       public void afterRegistrationEvent (@Observes final UserRegisteredEvent event) {
                // Trace message
                //* NOISY-DEBUG: */ System.out.println(MessageFormat.format("ContactWebBean:afterRegistration: event={0} - CALLED!", event)); //NOI18N
 
@@ -312,7 +312,7 @@ public class JobsContactWebSessionBean implements JobsContactWebSessionControlle
        }
 
        @Override
-       public void afterUserLogin (final @Observes UserLoggedInEvent event) {
+       public void afterUserLogin (@Observes final UserLoggedInEvent event) {
                // Trace message
                //* NOISY-DEBUG: */ System.out.println(MessageFormat.format("ContactWebBean:afterUserLogin: event={0} - CALLED!", event)); //NOI18N
 
index fafd21db74423c4e5aa9b9e530656ae4f9de0c7f..50c12e66f4248ac5005c39ab3a355f9a8169f62a 100644 (file)
@@ -125,16 +125,6 @@ public class JobsAdminWebRequestHelper implements JobsAdminWebRequestController
                this.contact = contact;
        }
 
-       @Override
-       public User getUser () {
-               return this.user;
-       }
-
-       @Override
-       public void setUser (final User user) {
-               this.user = user;
-       }
-
        @Override
        public String getContactUsageMessageKey (final Contact contact) {
                // The contact must be valid
@@ -165,4 +155,14 @@ public class JobsAdminWebRequestHelper implements JobsAdminWebRequestController
                return messageKey;
        }
 
+       @Override
+       public User getUser () {
+               return this.user;
+       }
+
+       @Override
+       public void setUser (final User user) {
+               this.user = user;
+       }
+
 }
index f018723940a220a0d937b0d7fad6198a7b3cb3d8..636136e598edb791786b1575b66e58b5dbf3ce56 100644 (file)
@@ -29,17 +29,17 @@ import javax.naming.NamingException;
 import org.mxchange.jcoreee.validator.string.BaseStringValidator;
 import org.mxchange.jcoreeelogger.beans.local.logger.Log;
 import org.mxchange.jcoreeelogger.beans.local.logger.LoggerBeanLocal;
+import org.mxchange.jjobs.beans.login.JobsUserLoginWebSessionController;
 import org.mxchange.jusercore.container.login.LoginContainer;
 import org.mxchange.jusercore.container.login.UserLoginContainer;
 import org.mxchange.jusercore.model.user.UserUtils;
-import org.mxchange.jjobs.beans.login.JobsUserLoginWebSessionController;
 
 /**
  * A validator for validating passwords (if they match with stored)
  * <p>
  * @author Roland Haeder<roland@mxchange.org>
  */
-@FacesValidator (value = "JobsUserPasswordValidator")
+@FacesValidator (value = "UserPasswordValidator")
 public class JobsUserPasswordValidator extends BaseStringValidator implements Validator {
 
        /**