]> git.mxchange.org Git - jcoreee.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Wed, 23 Nov 2022 21:45:59 +0000 (22:45 +0100)
committerRoland Häder <roland@mxchange.org>
Wed, 23 Nov 2022 21:45:59 +0000 (22:45 +0100)
- made more local variables final
- upgraded project files for Apache NetBeans IDE 15

lib/CopyLibs/org-netbeans-modules-java-j2seproject-copylibstask.jar
lib/nblibraries.properties
nbproject/project.properties
src/org/mxchange/jcoreee/bean/ejb/BaseEnterpriseBean.java

index 2cc00f0c62cbac0de1c35e927a80aaebae1e1ba8..174d1fcfa7325a5f9f1927055b019f286d066c0c 100644 (file)
Binary files a/lib/CopyLibs/org-netbeans-modules-java-j2seproject-copylibstask.jar and b/lib/CopyLibs/org-netbeans-modules-java-j2seproject-copylibstask.jar differ
index 167f5febee1cf41108fe0ee16eedf2a7e60eee66..0ff5358eea1dcab3c1a49fecd27259ebd2551deb 100644 (file)
@@ -1,7 +1,7 @@
 libs.CopyLibs.classpath=\
     ${base}/CopyLibs/org-netbeans-modules-java-j2seproject-copylibstask.jar
 libs.CopyLibs.displayName=CopyLibs Task
-libs.CopyLibs.prop-version=2.0
+libs.CopyLibs.prop-version=3.0
 libs.javaee-api-7.0.classpath=\
     ${base}/javaee-api-7.0/javaee-api-7.0.jar
 libs.javaee-api-7.0.displayName=Java EE 7 API Library
index 0565b121ed4912431b909985e61e7031f94f6b34..69933eb6109657ad73bef130bb7222043477d743 100644 (file)
@@ -20,8 +20,12 @@ build.test.results.dir=${build.dir}/test/results
 #debug.transport=dt_socket
 debug.classpath=\
     ${run.classpath}
+debug.modulepath=\
+    ${run.modulepath}
 debug.test.classpath=\
     ${run.test.classpath}
+debug.test.modulepath=\
+    ${run.test.modulepath}
 # Files in build.classes.dir which should be excluded from distribution jar
 dist.archive.excludes=
 # This directory is removed when the project is cleaned:
@@ -42,6 +46,8 @@ javac.classpath=\
 javac.compilerargs=-Xlint:unchecked -Xlint:deprecation
 javac.deprecation=true
 javac.external.vm=false
+javac.modulepath=
+javac.processormodulepath=
 javac.processorpath=\
     ${javac.classpath}
 javac.source=1.7
@@ -49,6 +55,8 @@ javac.target=1.7
 javac.test.classpath=\
     ${javac.classpath}:\
     ${build.classes.dir}
+javac.test.modulepath=\
+    ${javac.modulepath}
 javac.test.processorpath=\
     ${javac.test.classpath}
 javadoc.additionalparam=
@@ -87,9 +95,13 @@ run.classpath=\
 # You may also define separate properties like run-sys-prop.name=value instead of -Dname=value.
 # To set system properties for unit tests define test-sys-prop.name=value:
 run.jvmargs=
+run.modulepath=\
+    ${javac.modulepath}
 run.test.classpath=\
     ${javac.test.classpath}:\
     ${build.test.classes.dir}
+run.test.modulepath=\
+    ${javac.test.modulepath}
 source.encoding=UTF-8
 source.reference.jcore-logger-lib.jar=https://docs.mxchange.org/javadoc/jcore-logger-lib/
 src.dir=src
index e0d6755864241c23f534942865fabe0c6281f685..4e939a2d5ee457b57ed4e8954d01eb9303f5b8d4 100644 (file)
@@ -116,10 +116,10 @@ public abstract class BaseEnterpriseBean implements Serializable {
                // Try it out
                try {
                        // Get initial context
-                       Context context = new InitialContext();
+                       final Context context = new InitialContext();
 
                        // Get factory from JMS resource
-                       QueueConnectionFactory connectionFactory = (QueueConnectionFactory) context.lookup(factoryJndi);
+                       final QueueConnectionFactory connectionFactory = (QueueConnectionFactory) context.lookup(factoryJndi);
 
                        // Lookup queue
                        this.queue = (Queue) context.lookup(queueJndi);
@@ -144,7 +144,7 @@ public abstract class BaseEnterpriseBean implements Serializable {
        private void initLoggerInstance () {
                try {
                        // Get initial context
-                       Context context = new InitialContext();
+                       final Context context = new InitialContext();
 
                        // Lookup logger
                        this.loggerBeanLocal = (LoggerBeanLocal) context.lookup("java:global/jcore-logger-ejb/logger!org.mxchange.jcoreeelogger.beans.local.logger.LoggerBeanLocal"); //NOI18N