]> git.mxchange.org Git - jproduct-core.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Sun, 26 Apr 2020 20:03:54 +0000 (22:03 +0200)
committerRoland Häder <roland@mxchange.org>
Sun, 26 Apr 2020 20:03:54 +0000 (22:03 +0200)
- don't copy created/updated timestamps

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

index 272c84608fa1aa57134ce2321ce17386acf65fc4..d58472f5b8cce530b7b3805a9e2af5afbde05e3d 100644 (file)
@@ -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());