From: Roland Haeder Date: Fri, 9 Oct 2015 19:39:25 +0000 (+0200) Subject: Auto-formatted whole project X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2be320c86ffeee78a01e6496c260acc8536155b7;p=jproduct-core.git Auto-formatted whole project --- diff --git a/src/org/mxchange/jshopcore/model/basket/Basket.java b/src/org/mxchange/jshopcore/model/basket/Basket.java index 28d1eeb..d2e9883 100644 --- a/src/org/mxchange/jshopcore/model/basket/Basket.java +++ b/src/org/mxchange/jshopcore/model/basket/Basket.java @@ -32,6 +32,7 @@ public interface Basket extends Serializable { * Adds given item instance to this basket *

* @param item Item instance to add + *

* @throws org.mxchange.jshopcore.exceptions.BasketItemAlreadyAddedException * If the item instance has already been added */ @@ -68,6 +69,7 @@ public interface Basket extends Serializable { * item's id. *

* @param item Item instance to check + *

* @return Whether the given item has been found */ public boolean isAdded (final T item); diff --git a/src/org/mxchange/jshopcore/model/basket/items/BaseItem.java b/src/org/mxchange/jshopcore/model/basket/items/BaseItem.java index f7fb199..408f87c 100644 --- a/src/org/mxchange/jshopcore/model/basket/items/BaseItem.java +++ b/src/org/mxchange/jshopcore/model/basket/items/BaseItem.java @@ -68,8 +68,8 @@ public abstract class BaseItem implements AddableBasketItem, Comparable * @param em Entity manager instance + *

* @return Generated customer number (not used before) + *

* @throws java.sql.SQLException If any SQL error occured */ public static String generateCustomerNumber (final EntityManager em) throws SQLException { @@ -94,6 +96,7 @@ public class CustomerUtils extends BaseFrameworkSystem { *

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

* @return An unique access key */ public static String generateAccessKey (final EntityManager em, final Customer customer) {