From 4de6c3bb87ae62dffd30dde17d12f61b4f7c1eda Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Mon, 12 Oct 2015 18:38:08 +0200 Subject: [PATCH] renamed for naming convention --- src/org/mxchange/jshopcore/model/order/Orderable.java | 4 ++-- src/org/mxchange/jshopcore/model/order/ShopOrder.java | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/org/mxchange/jshopcore/model/order/Orderable.java b/src/org/mxchange/jshopcore/model/order/Orderable.java index 1078570..4517cda 100644 --- a/src/org/mxchange/jshopcore/model/order/Orderable.java +++ b/src/org/mxchange/jshopcore/model/order/Orderable.java @@ -95,7 +95,7 @@ public interface Orderable extends Serializable { /** * Setter for list of ordered basket items *

- * @param itemList List of items + * @param orderedItems List of ordered items */ - public void setOrderedItems (final List itemList); + public void setOrderedItems (final List orderedItems); } diff --git a/src/org/mxchange/jshopcore/model/order/ShopOrder.java b/src/org/mxchange/jshopcore/model/order/ShopOrder.java index 9209986..c0757c4 100644 --- a/src/org/mxchange/jshopcore/model/order/ShopOrder.java +++ b/src/org/mxchange/jshopcore/model/order/ShopOrder.java @@ -74,7 +74,7 @@ public class ShopOrder implements Orderable { * Item list, don't save this */ @Transient - private List itemList; + private List orderedItems; /** * Order orderId @@ -126,11 +126,11 @@ public class ShopOrder implements Orderable { @Override public List getOrderedItems () { - return this.itemList; + return this.orderedItems; } @Override - public void setOrderedItems (final List itemList) { - this.itemList = itemList; + public void setOrderedItems (final List orderedItems) { + this.orderedItems = orderedItems; } } -- 2.39.5