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/19 09:28:16 UTC

[cayenne] branch master 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 master
in repository https://gitbox.apache.org/repos/asf/cayenne.git


The following commit(s) were added to refs/heads/master by this push:
     new 1e21d95  fix bug with duplicating lines in modeler's datamap
     new c0d59a8  Merge pull request #481 from Ivan-nikitko/Bug_with_duplicating_lines_in_modeler's_datamap
1e21d95 is described below

commit 1e21d95ef5bb8e4c193dcb57b36389c44b20b58c
Author: Ivan-nikitko <70...@users.noreply.github.com>
AuthorDate: Tue Jan 18 21:46:02 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 02e81cd..7889325 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
@@ -418,8 +418,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)