From: Roland Häder Date: Sat, 15 Apr 2017 22:10:07 +0000 (+0200) Subject: jcore.jar is for JavaSE projects like Swing, but *never* for JavaEE projects or entit... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f766d6663bb58c0deb1ad913f806571ce2be1894;p=jshop-core.git jcore.jar is for JavaSE projects like Swing, but *never* for JavaEE projects or entities/utilities classes Signed-off-by: Roland Häder --- diff --git a/lib/jcore.jar b/lib/jcore.jar deleted file mode 100644 index b9cd20f..0000000 Binary files a/lib/jcore.jar and /dev/null differ diff --git a/nbproject/project.properties b/nbproject/project.properties index 180dac7..5aa6b08 100644 --- a/nbproject/project.properties +++ b/nbproject/project.properties @@ -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/ diff --git a/src/org/mxchange/jshopcore/model/customer/CustomerUtils.java b/src/org/mxchange/jshopcore/model/customer/CustomerUtils.java index c68aa71..15cdb90 100644 --- a/src/org/mxchange/jshopcore/model/customer/CustomerUtils.java +++ b/src/org/mxchange/jshopcore/model/customer/CustomerUtils.java @@ -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; *

* @author Roland Häder */ -public class CustomerUtils extends BaseFrameworkSystem { +public class CustomerUtils { /** * Generates an unique access key. *

- * @param em Entity manager instance + * @param em Entity manager instance * @param customer Customer instance *

* @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 } + }