]> git.mxchange.org Git - jjobs-mailer-ejb.git/commitdiff
Please cherry-pick:
authorRoland Häder <roland@mxchange.org>
Wed, 17 Jul 2019 21:18:01 +0000 (23:18 +0200)
committerRoland Häder <roland@mxchange.org>
Fri, 19 Jul 2019 21:36:07 +0000 (23:36 +0200)
- added final modifier as the object reference shall never be changed

Signed-off-by: Roland Häder <roland@mxchange.org>
src/java/org/mxchange/jjobs/mailer/model/delivery/JobsMailerSingletonBean.java

index a95f62c83a9427011c17365199c35391a9ea3b0d..f819f07c9f4093156b256669a04e2d69607e8c83 100644 (file)
@@ -71,7 +71,7 @@ public class JobsMailerSingletonBean extends BaseMailerBean implements Deliverab
                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 JobsMailerSingletonBean extends BaseMailerBean implements Deliverab
                }
 
                // Init Properties
-               Properties properties = new Properties();
+               final Properties properties = new Properties();
 
                // Is the bundle not empty?
                if (!bundle.keySet().isEmpty()) {