From 46dc7d76927a73c6471ae6c9008bf458ea5852e6 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Wed, 26 Aug 2015 09:27:52 +0200 Subject: [PATCH] =?utf8?q?Added=20missing=20diamond=20type=20Signed-off-by?= =?utf8?q?:Roland=20H=C3=A4der=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../org/mxchange/pizzaapplication/basket/item/ItemBasket.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/java/org/mxchange/pizzaapplication/basket/item/ItemBasket.java b/src/java/org/mxchange/pizzaapplication/basket/item/ItemBasket.java index 0519566b..ae59e657 100644 --- a/src/java/org/mxchange/pizzaapplication/basket/item/ItemBasket.java +++ b/src/java/org/mxchange/pizzaapplication/basket/item/ItemBasket.java @@ -38,7 +38,7 @@ public class ItemBasket extends BaseBasket imple /** * Creates a singleton instance from given session's id * - * @param session + * @param session An instance of a HttpSession class * @return A session-id based singleton instance of this basket * @throws org.mxchange.jcore.exceptions.UnsupportedDatabaseBackendException If an unsupported backend was configured * @throws java.sql.SQLException If an SQL error occurs @@ -51,7 +51,7 @@ public class ItemBasket extends BaseBasket imple // Is the basket already created? if (!(basket instanceof BaseBasket)) { // Not yet, so create it - basket = new ItemBasket(); + basket = new ItemBasket<>(); // Add it in session session.setAttribute("basket", basket); //NOI18N -- 2.39.5