From 96cf8e7324d3dc8d33eb1cad3e0cc17ec76977ae Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Thu, 10 Sep 2015 09:20:17 +0200 Subject: [PATCH] =?utf8?q?Used=20T,=20not=20the=20interface=20Signed-off-b?= =?utf8?q?y:Roland=20H=C3=A4der=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/org/mxchange/jshopcore/model/basket/BaseBasket.java | 2 +- src/org/mxchange/jshopcore/model/basket/Basket.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5