From cb5a15efb68b4e4d54c913b962f66b8d65ca5013 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sat, 28 Apr 2018 00:03:04 +0200 Subject: [PATCH] Continued: - renamed UpdatedProductEvent -> ObservableProductUpdatedEvent to follow naming-convention - productCreated cannot be copied MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- ...atedProductEvent.java => ObservableProductUpdatedEvent.java} | 2 +- .../jproduct/events/product/updated/ProductUpdatedEvent.java | 2 +- src/org/mxchange/jproduct/model/product/Products.java | 1 - src/org/mxchange/jproduct/model/product/agegroup/AgeGroup.java | 2 +- 4 files changed, 3 insertions(+), 4 deletions(-) rename src/org/mxchange/jproduct/events/product/updated/{UpdatedProductEvent.java => ObservableProductUpdatedEvent.java} (94%) diff --git a/src/org/mxchange/jproduct/events/product/updated/UpdatedProductEvent.java b/src/org/mxchange/jproduct/events/product/updated/ObservableProductUpdatedEvent.java similarity index 94% rename from src/org/mxchange/jproduct/events/product/updated/UpdatedProductEvent.java rename to src/org/mxchange/jproduct/events/product/updated/ObservableProductUpdatedEvent.java index 6048b4f..c64cc00 100644 --- a/src/org/mxchange/jproduct/events/product/updated/UpdatedProductEvent.java +++ b/src/org/mxchange/jproduct/events/product/updated/ObservableProductUpdatedEvent.java @@ -24,7 +24,7 @@ import org.mxchange.jproduct.model.product.Product; *

* @author Roland Häder */ -public interface UpdatedProductEvent extends Serializable { +public interface ObservableProductUpdatedEvent extends Serializable { /** * Getter for updated product instance diff --git a/src/org/mxchange/jproduct/events/product/updated/ProductUpdatedEvent.java b/src/org/mxchange/jproduct/events/product/updated/ProductUpdatedEvent.java index a6e8f5f..a03d5e8 100644 --- a/src/org/mxchange/jproduct/events/product/updated/ProductUpdatedEvent.java +++ b/src/org/mxchange/jproduct/events/product/updated/ProductUpdatedEvent.java @@ -24,7 +24,7 @@ import org.mxchange.jproduct.model.product.Product; *

* @author Roland Häder */ -public class ProductUpdatedEvent implements UpdatedProductEvent { +public class ProductUpdatedEvent implements ObservableProductUpdatedEvent { /** * Serial number diff --git a/src/org/mxchange/jproduct/model/product/Products.java b/src/org/mxchange/jproduct/model/product/Products.java index a05968e..92b3702 100644 --- a/src/org/mxchange/jproduct/model/product/Products.java +++ b/src/org/mxchange/jproduct/model/product/Products.java @@ -79,7 +79,6 @@ public class Products implements Serializable { targetProduct.setProductAgeGroup(sourceProduct.getProductAgeGroup()); targetProduct.setProductAvailability(sourceProduct.getProductAvailability()); targetProduct.setProductCategory(sourceProduct.getProductCategory()); - targetProduct.setProductCreated(sourceProduct.getProductCreated()); targetProduct.setProductCurrencyCode(sourceProduct.getProductCurrencyCode()); targetProduct.setProductGrossPrice(sourceProduct.getProductGrossPrice()); targetProduct.setProductI18nKey(sourceProduct.getProductI18nKey()); diff --git a/src/org/mxchange/jproduct/model/product/agegroup/AgeGroup.java b/src/org/mxchange/jproduct/model/product/agegroup/AgeGroup.java index 5aed39f..f51ff48 100644 --- a/src/org/mxchange/jproduct/model/product/agegroup/AgeGroup.java +++ b/src/org/mxchange/jproduct/model/product/agegroup/AgeGroup.java @@ -46,7 +46,7 @@ public enum AgeGroup { /** * Age group "senior" */ - AGE_GROUP_SENIOR("AGE_GROUP_SENIOR"); //NOI18N//NOI18N + AGE_GROUP_SENIOR("AGE_GROUP_SENIOR"); //NOI18N /** * I18n key for age group/class -- 2.39.5