From a619e3beb71b2a3e853076972f3aa70e42bc0178 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Thu, 20 Dec 2018 12:04:03 +0100 Subject: [PATCH] Continued: - removed parentCategory from constructor as per definition this is an optional field and these must always be set "manually" by invocing the setter MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- src/org/mxchange/jproduct/model/category/ProductCategory.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/org/mxchange/jproduct/model/category/ProductCategory.java b/src/org/mxchange/jproduct/model/category/ProductCategory.java index 0151345..2ec7c63 100644 --- a/src/org/mxchange/jproduct/model/category/ProductCategory.java +++ b/src/org/mxchange/jproduct/model/category/ProductCategory.java @@ -104,17 +104,15 @@ public class ProductCategory implements Category { * Constructor with all required fields *

* @param categoryI18nKey Category i18n key - * @param parentCategory Parent category * @param categoryShownInStatistics Whether this category is shown in any * statistics */ - public ProductCategory (final String categoryI18nKey, final Category parentCategory, final Boolean categoryShownInStatistics) { + public ProductCategory (final String categoryI18nKey, final Boolean categoryShownInStatistics) { // Call other constructor this(); // Set all here this.categoryI18nKey = categoryI18nKey; - this.parentCategory = parentCategory; this.categoryShownInStatistics = categoryShownInStatistics; } -- 2.39.5