]> git.mxchange.org Git - jfinancials-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>
Thu, 30 Apr 2020 21:32:16 +0000 (23:32 +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/jfinancials/beans/features/FinancialsFeatureWebApplicationBean.java
src/java/org/mxchange/jfinancials/beans/localization/FinancialsLocalizationSessionBean.java
src/java/org/mxchange/jfinancials/beans/user/activity/FinancialsUserActivityWebRequestBean.java

index bbd17de710868e879d8ce22a444ddb3ba340f889..9c5ee9bdefcd86dbf9ae2078a901cc34111e5bc7 100644 (file)
@@ -47,7 +47,7 @@ public class FinancialsFeatureWebApplicationBean extends BaseFinancialsBean impl
         * Post-construction method
         */
        @PostConstruct
-       public void init () {
+       public void initializeList () {
        }
 
        @Override
index e291a1453d71664160d37bfe62db340e23fe22de..045fee1975aec08c8ae6d4a563c352ab794be9e5 100644 (file)
@@ -245,7 +245,7 @@ public class FinancialsLocalizationSessionBean extends BaseFinancialsBean implem
         * 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 FinancialsLocalizationSessionBean extends BaseFinancialsBean implem
                // 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 0db44971bfd7c5ea6875d03a27adb3ac4c809cb1..8c2404442a6a5ec8034f16f40cf4397d47dffdee 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 FinancialsUserActivityWebRequestBean extends BaseFinancialsBean imp
         * 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?