You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by nt...@apache.org on 2022/01/20 09:08:35 UTC

[cayenne] branch STABLE-4.1 updated: Fix bug with duplicating lines in_modeler's datamap

This is an automated email from the ASF dual-hosted git repository.

ntimofeev pushed a commit to branch STABLE-4.1
in repository https://gitbox.apache.org/repos/asf/cayenne.git


The following commit(s) were added to refs/heads/STABLE-4.1 by this push:
     new 0339384  Fix bug with duplicating lines in_modeler's datamap
     new 4e1563e  Merge pull request #484 from Ivan-nikitko/STABLE-4.1_Bug_with_duplicating_lines_in_modeler's_datamap
0339384 is described below

commit 033938480107de540fbf195f5192e2efb61b9ce9
Author: ivannikitka <ni...@gmail.com>
AuthorDate: Thu Jan 20 11:01:06 2022 +0300

    Fix bug with duplicating lines in_modeler's datamap
---
 .../src/main/java/org/apache/cayenne/gen/CgenConfiguration.java         | 2 --
 1 file changed, 2 deletions(-)

diff --git a/cayenne-cgen/src/main/java/org/apache/cayenne/gen/CgenConfiguration.java b/cayenne-cgen/src/main/java/org/apache/cayenne/gen/CgenConfiguration.java
index eb2c822..156097c 100644
--- a/cayenne-cgen/src/main/java/org/apache/cayenne/gen/CgenConfiguration.java
+++ b/cayenne-cgen/src/main/java/org/apache/cayenne/gen/CgenConfiguration.java
@@ -396,8 +396,6 @@ public class CgenConfiguration implements Serializable, XMLSerializable {
                 .simpleTag("mode", this.artifactsGenerationMode.getLabel())
                 .simpleTag("template", this.template)
                 .simpleTag("superTemplate", this.superTemplate)
-                .simpleTag("template", this.template)
-                .simpleTag("superTemplate", this.superTemplate)
                 .simpleTag("embeddableTemplate", this.embeddableTemplate)
                 .simpleTag("embeddableSuperTemplate", this.embeddableSuperTemplate)
                 .simpleTag("queryTemplate", this.queryTemplate)