From: Roland Häder Date: Thu, 30 Apr 2020 21:32:16 +0000 (+0200) Subject: Please cherry-pick: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3231125ac54fd951d69bd99ccb5d4d10ef2db82f;p=jfinancials-war.git Please cherry-pick: - renamed init() to initializeList() or better intiializeCache() ! - made some local variables final Signed-off-by: Roland Häder --- diff --git a/src/java/org/mxchange/jfinancials/beans/features/FinancialsFeatureWebApplicationBean.java b/src/java/org/mxchange/jfinancials/beans/features/FinancialsFeatureWebApplicationBean.java index bbd17de7..9c5ee9bd 100644 --- a/src/java/org/mxchange/jfinancials/beans/features/FinancialsFeatureWebApplicationBean.java +++ b/src/java/org/mxchange/jfinancials/beans/features/FinancialsFeatureWebApplicationBean.java @@ -47,7 +47,7 @@ public class FinancialsFeatureWebApplicationBean extends BaseFinancialsBean impl * Post-construction method */ @PostConstruct - public void init () { + public void initializeList () { } @Override diff --git a/src/java/org/mxchange/jfinancials/beans/localization/FinancialsLocalizationSessionBean.java b/src/java/org/mxchange/jfinancials/beans/localization/FinancialsLocalizationSessionBean.java index e291a145..045fee19 100644 --- a/src/java/org/mxchange/jfinancials/beans/localization/FinancialsLocalizationSessionBean.java +++ b/src/java/org/mxchange/jfinancials/beans/localization/FinancialsLocalizationSessionBean.java @@ -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); diff --git a/src/java/org/mxchange/jfinancials/beans/user/activity/FinancialsUserActivityWebRequestBean.java b/src/java/org/mxchange/jfinancials/beans/user/activity/FinancialsUserActivityWebRequestBean.java index 0db44971..8c240444 100644 --- a/src/java/org/mxchange/jfinancials/beans/user/activity/FinancialsUserActivityWebRequestBean.java +++ b/src/java/org/mxchange/jfinancials/beans/user/activity/FinancialsUserActivityWebRequestBean.java @@ -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?