]> git.mxchange.org Git - jproduct-core.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Thu, 20 Dec 2018 11:04:03 +0000 (12:04 +0100)
committerRoland Häder <roland@mxchange.org>
Thu, 20 Dec 2018 11:04:03 +0000 (12:04 +0100)
- removed parentCategory from constructor as per definition this is an optional
  field and these must always be set "manually" by invocing the setter

Signed-off-by: Roland Häder <roland@mxchange.org>
src/org/mxchange/jproduct/model/category/ProductCategory.java

index 0151345360f34c9662614e0e9570c50ef7799fd6..2ec7c6372ea56565523f76d5299bf9610204e90b 100644 (file)
@@ -104,17 +104,15 @@ public class ProductCategory implements Category {
         * Constructor with all required fields
         * <p>
         * @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;
        }