From: Roland Häder Date: Sun, 26 Apr 2020 20:03:54 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b9ead7d87c5731f5b586ae0ed887fea4719766ff;p=jproduct-core.git Continued: - don't copy created/updated timestamps Signed-off-by: Roland Häder --- diff --git a/src/org/mxchange/jproduct/model/category/Categories.java b/src/org/mxchange/jproduct/model/category/Categories.java index 272c846..d58472f 100644 --- a/src/org/mxchange/jproduct/model/category/Categories.java +++ b/src/org/mxchange/jproduct/model/category/Categories.java @@ -76,9 +76,7 @@ public class Categories implements Serializable { throw new IllegalArgumentException("sourcerCategory and targetCategory are the same."); //NOI18N } - // Copy all: - targetCategory.setCategoryEntryCreated(sourceCategory.getCategoryEntryCreated()); - targetCategory.setCategoryEntryUpdated(sourceCategory.getCategoryEntryUpdated()); + // Copy all fields targetCategory.setCategoryI18nKey(sourceCategory.getCategoryI18nKey()); targetCategory.setCategoryId(sourceCategory.getCategoryId()); targetCategory.setCategoryShownInStatistics(sourceCategory.getCategoryShownInStatistics());