]> git.mxchange.org Git - jjobs-war.git/commitdiff
Please cherry-pick:
authorRoland Häder <roland@mxchange.org>
Thu, 30 Apr 2020 21:32:16 +0000 (23:32 +0200)
committerRoland Häder <roland@mxchange.org>
Wed, 10 Jun 2020 17:56:09 +0000 (19:56 +0200)
- renamed init() to initializeList() or better intiializeCache() !
- made some local variables final

Signed-off-by: Roland Häder <roland@mxchange.org>
src/java/org/mxchange/jjobs/beans/features/JobsFeatureWebApplicationBean.java
src/java/org/mxchange/jjobs/beans/localization/JobsLocalizationSessionBean.java
src/java/org/mxchange/jjobs/beans/user/activity/JobsUserActivityWebRequestBean.java

index 8b452dae645fe8cda08d511ac0425fb2e63f9ccd..08bd4a196bea8bc124bb093ba3ce19f2687bbcd9 100644 (file)
@@ -47,7 +47,7 @@ public class JobsFeatureWebApplicationBean extends BaseJobsBean implements JobsF
         * Post-construction method
         */
        @PostConstruct
-       public void init () {
+       public void initializeList () {
        }
 
        @Override
index 2737bc22f4ed1d780e1c14ba36ad3fb22deb07cd..ef60f1272edb7241dec437a027e61ef837fdd58a 100644 (file)
@@ -245,7 +245,7 @@ public class JobsLocalizationSessionBean extends BaseJobsBean implements JobsLoc
         * Initializer for this bean
         */
        @PostConstruct
-       public void init () {
+       public void inititializeList () {
                // Get default locale
                final Locale defaultLocale = FacesContext.getCurrentInstance().getApplication().getDefaultLocale();
 
@@ -258,7 +258,7 @@ public class JobsLocalizationSessionBean extends BaseJobsBean implements JobsLoc
                // Add all locales
                while (iterator.hasNext()) {
                        // Get next locale
-                       Locale supportedLocale = iterator.next();
+                       final Locale supportedLocale = iterator.next();
 
                        // Add it
                        this.getSupportedLocales().put(supportedLocale.toString(), supportedLocale);
index 16a96a1e02b00c1df75013ccbb06893cd64c6211..9d26e385d3bb19e1bb8b4c8ada8a2f1d9c7c09b0 100644 (file)
@@ -36,6 +36,8 @@ import org.mxchange.jusercore.events.user.delete.ObservableAdminDeletedUserEvent
 import org.mxchange.jusercore.events.user.linked.ObservableAdminLinkedUserEvent;
 import org.mxchange.jusercore.events.user.locked.ObservableAdminLockedUserEvent;
 import org.mxchange.jusercore.events.user.unlocked.ObservableAdminUnlockedUserEvent;
+import org.mxchange.jusercore.events.user.update.post.ObservableAdminPostUserDataUpdatedEvent;
+import org.mxchange.jusercore.events.user.update.post.ObservablePostUserPersonalDataUpdatedEvent;
 import org.mxchange.jusercore.model.user.User;
 import org.mxchange.jusercore.model.user.activity.LogableUserActivity;
 import org.mxchange.jusercore.model.user.activity.UserActivityLog;
@@ -47,8 +49,6 @@ import org.mxchange.juserlogincore.events.logout.ObservableUserLogoutEvent;
 import org.mxchange.juserlogincore.events.registration.ObservableUserRegisteredEvent;
 import org.mxchange.juserlogincore.events.resendlink.ObservableUserResendLinkAccountEvent;
 import org.mxchange.juserlogincore.events.user.password_change.ObservableUpdatedUserPasswordEvent;
-import org.mxchange.jusercore.events.user.update.post.ObservableAdminPostUserDataUpdatedEvent;
-import org.mxchange.jusercore.events.user.update.post.ObservablePostUserPersonalDataUpdatedEvent;
 
 /**
  * A controller (bean) for user activity log
@@ -543,7 +543,7 @@ public class JobsUserActivityWebRequestBean extends BaseJobsBean implements Jobs
         * Post-constructor method
         */
        @PostConstruct
-       public void init () {
+       public void initializeList () {
                // Put all in map, per-user
                for (final LogableUserActivity userActivity : this.userActivityBean.fetchAllUserActivityLog()) {
                        // Is the list there?