From: Roland Haeder Date: Wed, 26 Aug 2015 07:27:52 +0000 (+0200) Subject: Added missing diamond type X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=46dc7d76927a73c6471ae6c9008bf458ea5852e6;p=pizzaservice-war.git Added missing diamond type Signed-off-by:Roland Häder --- 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