From: Roland Häder Date: Wed, 17 Jul 2019 21:18:01 +0000 (+0200) Subject: Please cherry-pick: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e4abbb6764cd2843383b21b7ec94bcd1489cc817;p=jfinancials-mailer-ejb.git Please cherry-pick: - added final modifier as the object reference shall never be changed Signed-off-by: Roland Häder --- diff --git a/src/java/org/mxchange/jfinancials/model/mailer/FinancialsMailerSingletonBean.java b/src/java/org/mxchange/jfinancials/model/mailer/FinancialsMailerSingletonBean.java index 50a2c3b..7bf7382 100644 --- a/src/java/org/mxchange/jfinancials/model/mailer/FinancialsMailerSingletonBean.java +++ b/src/java/org/mxchange/jfinancials/model/mailer/FinancialsMailerSingletonBean.java @@ -71,7 +71,7 @@ public class FinancialsMailerSingletonBean extends BaseMailerBean implements Del this.getLoggerBeanLocal().logTrace(MessageFormat.format("{0}.init: CALLED!", this.getClass().getSimpleName())); //NOI18N // Try to load bundle - ResourceBundle bundle = ResourceBundle.getBundle(this.configFile); + final ResourceBundle bundle = ResourceBundle.getBundle(this.configFile); // Debug message this.getLoggerBeanLocal().logDebug(MessageFormat.format("{0}.init: bundle={1}", this.getClass().getSimpleName(), bundle)); //NOI18N @@ -83,7 +83,7 @@ public class FinancialsMailerSingletonBean extends BaseMailerBean implements Del } // Init Properties - Properties properties = new Properties(); + final Properties properties = new Properties(); // Is the bundle not empty? if (!bundle.keySet().isEmpty()) {