From 8f6aa5702dbfe5f7c18c0a91104f37b2661a7f27 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Wed, 17 Jul 2019 23:18:01 +0200 Subject: [PATCH] Please cherry-pick: - added final modifier as the object reference shall never be changed MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- .../mailer/model/delivery/AddressbookMailerSingletonBean.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/java/org/mxchange/addressbook/mailer/model/delivery/AddressbookMailerSingletonBean.java b/src/java/org/mxchange/addressbook/mailer/model/delivery/AddressbookMailerSingletonBean.java index 81ecdbe..75ddf65 100644 --- a/src/java/org/mxchange/addressbook/mailer/model/delivery/AddressbookMailerSingletonBean.java +++ b/src/java/org/mxchange/addressbook/mailer/model/delivery/AddressbookMailerSingletonBean.java @@ -71,7 +71,7 @@ public class AddressbookMailerSingletonBean extends BaseMailerBean implements De 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 AddressbookMailerSingletonBean extends BaseMailerBean implements De } // Init Properties - Properties properties = new Properties(); + final Properties properties = new Properties(); // Is the bundle not empty? if (!bundle.keySet().isEmpty()) { -- 2.39.5