]> git.mxchange.org Git - jshop-core.git/commitdiff
jcore.jar is for JavaSE projects like Swing, but *never* for JavaEE projects or entit...
authorRoland Häder <roland@mxchange.org>
Sat, 15 Apr 2017 22:10:07 +0000 (00:10 +0200)
committerRoland Häder <roland@mxchange.org>
Sat, 15 Apr 2017 22:10:07 +0000 (00:10 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
lib/jcore.jar [deleted file]
nbproject/project.properties
src/org/mxchange/jshopcore/model/customer/CustomerUtils.java

diff --git a/lib/jcore.jar b/lib/jcore.jar
deleted file mode 100644 (file)
index b9cd20f..0000000
Binary files a/lib/jcore.jar and /dev/null differ
index 180dac7e913f50d21fec0b1db36e7c4aa83b92c3..5aa6b081bb7526a6c0592f097d32b3b24a5d7fee 100644 (file)
@@ -31,7 +31,6 @@ dist.javadoc.dir=${dist.dir}/javadoc
 endorsed.classpath=
 excludes=
 file.reference.jcontacts-core.jar=lib/jcontacts-core.jar
-file.reference.jcore.jar=lib/jcore.jar
 file.reference.jcoreee.jar=lib/jcoreee.jar
 file.reference.jcustomer-core.jar=lib/jcustomer-core.jar
 file.reference.jproduct-core.jar=lib/jproduct-core.jar
@@ -40,7 +39,6 @@ jar.archive.disabled=${jnlp.enabled}
 jar.compress=false
 jar.index=${jnlp.enabled}
 javac.classpath=\
-    ${file.reference.jcore.jar}:\
     ${file.reference.jcoreee.jar}:\
     ${file.reference.jcontacts-core.jar}:\
     ${file.reference.jcustomer-core.jar}:\
@@ -100,7 +98,6 @@ run.test.classpath=\
     ${build.test.classes.dir}
 source.encoding=UTF-8
 source.reference.jcontacts-core.jar=../jcontacts-core/
-source.reference.jcore.jar=../jcore/
 source.reference.jcoreee.jar=../jcoreee/
 source.reference.jcustomer-core.jar=../jcustomer-core/
 source.reference.jproduct-core.jar=../jproduct-core/
index c68aa71d882f670e19418a3d4303cb73feea5e04..15cdb9099faa7a8b095476433157e85e554174e6 100644 (file)
@@ -21,7 +21,6 @@ import javax.persistence.EntityManager;
 import javax.persistence.EntityNotFoundException;
 import org.apache.commons.codec.binary.Base64;
 import org.apache.commons.codec.digest.Sha2Crypt;
-import org.mxchange.jcore.BaseFrameworkSystem;
 import org.mxchange.jcustomercore.model.customer.Customer;
 import org.mxchange.jshopcore.model.order.Orderable;
 import org.mxchange.jshopcore.model.order.ShopOrder;
@@ -31,12 +30,12 @@ import org.mxchange.jshopcore.model.order.ShopOrder;
  * <p>
  * @author Roland Häder<roland@mxchange.org>
  */
-public class CustomerUtils extends BaseFrameworkSystem {
+public class CustomerUtils {
 
        /**
         * Generates an unique access key.
         * <p>
-        * @param em Entity manager instance
+        * @param em       Entity manager instance
         * @param customer Customer instance
         * <p>
         * @return An unique access key
@@ -141,8 +140,10 @@ public class CustomerUtils extends BaseFrameworkSystem {
        }
 
        /**
-        * No instance from this class
+        * Private constructor
         */
        private CustomerUtils () {
+               // Prevents making instances from utilities classes
        }
+
 }