From 2be320c86ffeee78a01e6496c260acc8536155b7 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Fri, 9 Oct 2015 21:39:25 +0200 Subject: [PATCH] Auto-formatted whole project --- src/org/mxchange/jshopcore/model/basket/Basket.java | 2 ++ src/org/mxchange/jshopcore/model/basket/items/BaseItem.java | 4 ++-- src/org/mxchange/jshopcore/model/customer/CustomerUtils.java | 3 +++ 3 files changed, 7 insertions(+), 2 deletions(-) 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) { -- 2.39.5