From: Roland Haeder Date: Thu, 10 Sep 2015 07:20:17 +0000 (+0200) Subject: Used T, not the interface X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=96cf8e7324d3dc8d33eb1cad3e0cc17ec76977ae;p=jcustomer-core.git Used T, not the interface Signed-off-by:Roland Häder --- diff --git a/src/org/mxchange/jshopcore/model/basket/BaseBasket.java b/src/org/mxchange/jshopcore/model/basket/BaseBasket.java index 293e521..fcf10ea 100644 --- a/src/org/mxchange/jshopcore/model/basket/BaseBasket.java +++ b/src/org/mxchange/jshopcore/model/basket/BaseBasket.java @@ -73,7 +73,7 @@ public abstract class BaseBasket implements Basket< } @Override - public AddableBasketItem getLast () { + public T getLast () { // Deligate to frontend // TODO: return ((BasketFrontend) this.getFrontend()).getLast(); throw new UnsupportedOperationException("Not yet implmeneted."); diff --git a/src/org/mxchange/jshopcore/model/basket/Basket.java b/src/org/mxchange/jshopcore/model/basket/Basket.java index e6f9b65..72d9e07 100644 --- a/src/org/mxchange/jshopcore/model/basket/Basket.java +++ b/src/org/mxchange/jshopcore/model/basket/Basket.java @@ -66,7 +66,7 @@ public interface Basket extends Serializable { * * @return Last added item in basket */ - public AddableBasketItem getLast (); + public T getLast (); /** * Getter for last num rows