From b9ead7d87c5731f5b586ae0ed887fea4719766ff Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sun, 26 Apr 2020 22:03:54 +0200 Subject: [PATCH] Continued: - don't copy created/updated timestamps 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/Categories.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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()); -- 2.39.5