Repository: decorators-squad/eo-yaml
Pull request #294 (2020-04-07 14:45:20)

Remove comments() Method
Pr for #292
Work in progress, still need to fix printing of child comments.


Patch:
diff --git a/src/main/java/com/amihaiemil/eoyaml/BaseYamlMapping.java b/src/main/java/com/amihaiemil/eoyaml/BaseYamlMapping.java
index 4e7a5d2..07eee29 100644
--- a/src/main/java/com/amihaiemil/eoyaml/BaseYamlMapping.java
+++ b/src/main/java/com/amihaiemil/eoyaml/BaseYamlMapping.java
@@ -47,26 +47,6 @@ import java.util.*;
 public abstract class BaseYamlMapping
     extends BaseYamlNode implements YamlMapping {
 
-    /**
-     * Comments referring the key:value pairs.
-     */
-    private Comments comments;
-
-    /**
-     * Default ctor.
-     */
-    public BaseYamlMapping() {
-        this(new Comments.Empty());
-    }
-
-    /**
-     * Constructor.
-     * @param comments Comments referring to the key: value entries.
-     */
-    public BaseYamlMapping(final Comments comments) {
-        this.comments = comments;
-    }
-
     @Override
     public final int hashCode() {
         int hash = 0;
@@ -156,11 +136,6 @@ public abstract class BaseYamlMapping
         return result;
     }
 
-    @Override
-    public final Comments comments() {
-        return this.comments;
-    }
-
     /**
      * Indent this YamlMapping. This is a base method since indentation
      * logic should be identical for any kind of YamlMapping, regardless of
@@ -187,14 +162,16 @@ public abstract class BaseYamlMapping
             alignment.append(" ");
             spaces--;
         }
-        this.printPossibleComment(this.comment(), print, alignment.toString());
         for(final YamlNode key : this.keys()) {
             this.printPossibleComment(
-                this.comments().referringTo(key), print, alignment.toString()
+                key.comment(), print, alignment.toString()
             );
             print.append(alignment);
             final BaseYamlNode indKey = (BaseYamlNode) key;
             final BaseYamlNode value = (BaseYamlNode) this.value(key);
+            this.printPossibleComment(
+                value.comment(), print, alignment.toString()
+            );
             if(indKey instanceof Scalar) {
                 print
                     .append(indKey.indent(0))
@@ -308,6 +285,9 @@ public abstract class BaseYamlMapping
      */
     @Override
     public final String toString() {
-        return this.indent(0);
+        final StringBuilder print = new StringBuilder();
+        this.printPossibleComment(this.comment(), print, "");
+        print.append(this.indent(0));
+        return print.toString();
     }
 }
diff --git a/src/main/java/com/amihaiemil/eoyaml/BaseYamlSequence.java b/src/main/java/com/amihaiemil/eoyaml/BaseYamlSequence.java
index 95a6d99..5157930 100644
--- a/src/main/java/com/amihaiemil/eoyaml/BaseYamlSequence.java
+++ b/src/main/java/com/amihaiemil/eoyaml/BaseYamlSequence.java
@@ -46,27 +46,6 @@ import java.util.*;
 public abstract class BaseYamlSequence
     extends BaseYamlNode implements YamlSequence {
 
-    /**
-     * Comments referring the elements of this YamlSequence.
-     */
-    private Comments comments;
-
-    /**
-     * Default ctor.
-     */
-    public BaseYamlSequence() {
-        this(new Comments.Empty());
-    }
-
-    /**
-     * Constructor.
-     * @param comments Comments referring to the elements of the sequence.
-     */
-    public BaseYamlSequence(final Comments comments) {
-        this.comments = comments;
-    }
-
-
     @Override
     public final int hashCode() {
         int hash = 0;
@@ -143,11 +122,6 @@ public abstract class BaseYamlSequence
         return result;
     }
 
-    @Override
-    public final Comments comments() {
-        return this.comments;
-    }
-
     /**
      * Indent this YamlSequence. This is a base method since indentation
      * logic should be identical for any kind of YamlSequence, regardless of
@@ -174,13 +148,8 @@ public abstract class BaseYamlSequence
             alignment.append(" ");
             spaces--;
         }
-        this.printPossibleComment(this.comment(), print, alignment.toString());
         for (final YamlNode node : this.values()) {
-            this.printPossibleComment(
-                this.comments.referringTo(node),
-                print,
-                alignment.toString()
-            );
+            this.printPossibleComment(node.comment(), print, alignment.toString());
             print
                 .append(alignment)
                 .append("-");
@@ -277,6 +246,9 @@ public abstract class BaseYamlSequence
      */
     @Override
     public final String toString() {
-        return this.indent(0);
+        final StringBuilder print = new StringBuilder();
+        this.printPossibleComment(this.comment(), print, "");
+        print.append(this.indent(0));
+        return print.toString();
     }
 }
diff --git a/src/main/java/com/amihaiemil/eoyaml/Comments.java b/src/main/java/com/amihaiemil/eoyaml/Comments.java
index 697ef1d..16cbafd 100644
--- a/src/main/java/com/amihaiemil/eoyaml/Comments.java
+++ b/src/main/java/com/amihaiemil/eoyaml/Comments.java
@@ -39,7 +39,7 @@ import java.util.Iterator;
  * @version $Id$
  * @since 4.2.0
  */
-public interface Comments extends Iterable<Comment> {
+interface Comments extends Iterable<Comment> {
 
     /**
      * Get the Comment referring to the specified YamlNode.
diff --git a/src/main/java/com/amihaiemil/eoyaml/RtYamlMapping.java b/src/main/java/com/amihaiemil/eoyaml/RtYamlMapping.java
index f228c23..8570032 100644
--- a/src/main/java/com/amihaiemil/eoyaml/RtYamlMapping.java
+++ b/src/main/java/com/amihaiemil/eoyaml/RtYamlMapping.java
@@ -54,21 +54,18 @@ final class RtYamlMapping extends BaseYamlMapping {
      * @param entries Entries contained in this mapping.
      */
     RtYamlMapping(final Map<YamlNode, YamlNode> entries) {
-        this(entries, new ArrayList<>(), "");
+        this(entries, "");
     }
 
     /**
      * Ctor.
      * @param entries Entries contained in this mapping.
-     * @param keyComments Comments on top of the key: value pairs.
      * @param comment Comment on top of this YamlMapping.
      */
     RtYamlMapping(
         final Map<YamlNode, YamlNode> entries,
-        final List<Comment> keyComments,
         final String comment
     ) {
-        super(new BuiltComments(keyComments));
         this.mappings.putAll(entries);
         this.comment = new BuiltComment(this, comment);
     }
diff --git a/src/main/java/com/amihaiemil/eoyaml/RtYamlMappingBuilder.java b/src/main/java/com/amihaiemil/eoyaml/RtYamlMappingBuilder.java
index 3608100..c7f5f19 100644
--- a/src/main/java/com/amihaiemil/eoyaml/RtYamlMappingBuilder.java
+++ b/src/main/java/com/amihaiemil/eoyaml/RtYamlMappingBuilder.java
@@ -28,8 +28,6 @@
 package com.amihaiemil.eoyaml;
 
 import java.util.LinkedHashMap;
-import java.util.LinkedList;
-import java.util.List;
 import java.util.Map;
 
 /**
@@ -47,50 +45,50 @@ final class RtYamlMappingBuilder implements YamlMappingBuilder {
      */
     private final Map<YamlNode, YamlNode> pairs;
 
-    /**
-     * Comments referring to the key:value pairs.
-     */
-    private final List<Comment> comments;
-
     /**
      * Default ctor.
      */
     RtYamlMappingBuilder() {
-        this(new LinkedHashMap<>(), new LinkedList<>());
+        this(new LinkedHashMap<>());
     }
 
     /**
      * Constructor.
      * @param pairs Pairs used in building the YamlMapping.
-     * @param comments Comments referring to the key:value pairs.
      */
-    RtYamlMappingBuilder(
-        final Map<YamlNode, YamlNode> pairs,
-        final List<Comment> comments
-    ) {
+    RtYamlMappingBuilder(final Map<YamlNode, YamlNode> pairs) {
         this.pairs = pairs;
-        this.comments = comments;
     }
 
     @Override
-    public YamlMappingBuilder add(
-        final YamlNode key,
-        final YamlNode value,
-        final String comment
-    ) {
+    public YamlMappingBuilder add(final String key, final String value) {
+        return this.add(
+            new PlainStringScalar(key),
+            new PlainStringScalar(value)
+        );
+    }
+
+    @Override
+    public YamlMappingBuilder add(final YamlNode key, final String value) {
+        return this.add(key, new PlainStringScalar(value));
+    }
+
+    @Override
+    public YamlMappingBuilder add(final String key, final YamlNode value) {
+        return this.add(new PlainStringScalar(key), value);
+    }
+
+    @Override
+    public YamlMappingBuilder add(final YamlNode key, final YamlNode value) {
         final Map<YamlNode, YamlNode> withAddedPair = new LinkedHashMap<>();
         withAddedPair.putAll(this.pairs);
         withAddedPair.put(key, value);
-
-        final List<Comment> withAddedComment = new LinkedList<>();
-        withAddedComment.addAll(this.comments);
-        withAddedComment.add(new BuiltComment(key, comment));
-        return new RtYamlMappingBuilder(withAddedPair, withAddedComment);
+        return new RtYamlMappingBuilder(withAddedPair);
     }
 
     @Override
     public YamlMapping build(final String comment) {
-        return new RtYamlMapping(this.pairs, this.comments, comment);
+        return new RtYamlMapping(this.pairs, comment);
     }
 
 }
diff --git a/src/main/java/com/amihaiemil/eoyaml/RtYamlSequence.java b/src/main/java/com/amihaiemil/eoyaml/RtYamlSequence.java
index b242de6..7141e76 100644
--- a/src/main/java/com/amihaiemil/eoyaml/RtYamlSequence.java
+++ b/src/main/java/com/amihaiemil/eoyaml/RtYamlSequence.java
@@ -53,21 +53,18 @@ final class RtYamlSequence extends BaseYamlSequence {
      * @param elements Elements of this sequence.
      */
     RtYamlSequence(final Collection<YamlNode> elements) {
-        this(elements, new ArrayList<>(), "");
+        this(elements, "");
     }
 
     /**
      * Constructor.
      * @param elements Elements of this sequence.
-     * @param comments Comments referring to the elements of this sequence.
      * @param comment Comment referring to this sequence itself.
      */
     RtYamlSequence(
         final Collection<YamlNode> elements,
-        final List<Comment> comments,
         final String comment
     ) {
-        super(new BuiltComments(comments));
         this.nodes.addAll(elements);
         this.comment = new BuiltComment(this, comment);
     }
diff --git a/src/main/java/com/amihaiemil/eoyaml/RtYamlSequenceBuilder.java b/src/main/java/com/amihaiemil/eoyaml/RtYamlSequenceBuilder.java
index 613dc45..79ce93c 100644
--- a/src/main/java/com/amihaiemil/eoyaml/RtYamlSequenceBuilder.java
+++ b/src/main/java/com/amihaiemil/eoyaml/RtYamlSequenceBuilder.java
@@ -43,46 +43,36 @@ final class RtYamlSequenceBuilder implements YamlSequenceBuilder {
      */
     private final List<YamlNode> nodes;
 
-    /**
-     * Comments referring to the elements of the YamlSequence.
-     */
-    private final List<Comment> comments;
-
     /**
      * Default ctor.
      */
     RtYamlSequenceBuilder() {
-        this(new LinkedList<>(), new LinkedList<>());
+        this(new LinkedList<>());
     }
 
     /**
      * Constructor.
      * @param nodes Nodes used in building the YamlSequence
-     * @param comments Comments referring to the elements of the YamlSequence.
      */
-    RtYamlSequenceBuilder(
-        final List<YamlNode> nodes,
-        final List<Comment> comments
-    ) {
+    RtYamlSequenceBuilder(final List<YamlNode> nodes) {
         this.nodes = nodes;
-        this.comments = comments;
     }
 
     @Override
-    public YamlSequenceBuilder add(final YamlNode node, final String comment) {
-        final List<YamlNode> elements = new LinkedList<>();
-        elements.addAll(this.nodes);
-        elements.add(node);
-
-        final List<Comment> withComments = new LinkedList<>();
-        withComments.addAll(this.comments);
-        withComments.add(new BuiltComment(node, comment));
+    public YamlSequenceBuilder add(final String value) {
+        return this.add(new PlainStringScalar(value));
+    }
 
-        return new RtYamlSequenceBuilder(elements, withComments);
+    @Override
+    public YamlSequenceBuilder add(final YamlNode node) {
+        final List<YamlNode> list = new LinkedList<>();
+        list.addAll(this.nodes);
+        list.add(node);
+        return new RtYamlSequenceBuilder(list);
     }
 
     @Override
     public YamlSequence build(final String comment) {
-        return new RtYamlSequence(this.nodes, this.comments, comment);
+        return new RtYamlSequence(this.nodes, comment);
     }
 }
diff --git a/src/main/java/com/amihaiemil/eoyaml/Scalar.java b/src/main/java/com/amihaiemil/eoyaml/Scalar.java
index 248383e..a3fc0cf 100644
--- a/src/main/java/com/amihaiemil/eoyaml/Scalar.java
+++ b/src/main/java/com/amihaiemil/eoyaml/Scalar.java
@@ -46,10 +46,4 @@ public interface Scalar extends YamlNode {
      *  supposed to be.
      */
     String value();
-
-    /**
-     * Comment referring to this Scalar.
-     * @return Comment.
-     */
-    Comment comment();
 }
diff --git a/src/main/java/com/amihaiemil/eoyaml/YamlMapping.java b/src/main/java/com/amihaiemil/eoyaml/YamlMapping.java
index 93c92e0..2426c92 100644
--- a/src/main/java/com/amihaiemil/eoyaml/YamlMapping.java
+++ b/src/main/java/com/amihaiemil/eoyaml/YamlMapping.java
@@ -410,18 +410,4 @@ public interface YamlMapping extends YamlNode {
         }
         return null;
     }
-
-    /**
-     * Comment referring to this YamlMapping.
-     * @return Comment.
-     */
-    Comment comment();
-
-    /**
-     * Comments referring to the key:value pairs of this
-     * mapping.
-     * @return Comments or Comments.Empty() if there are no
-     *  comments to be returned.
-     */
-    Comments comments();
 }
diff --git a/src/main/java/com/amihaiemil/eoyaml/YamlMappingBuilder.java b/src/main/java/com/amihaiemil/eoyaml/YamlMappingBuilder.java
index a8b97b5..8742627 100644
--- a/src/main/java/com/amihaiemil/eoyaml/YamlMappingBuilder.java
+++ b/src/main/java/com/amihaiemil/eoyaml/YamlMappingBuilder.java
@@ -34,35 +34,13 @@ package com.amihaiemil.eoyaml;
  * @since 1.0.0
  */
 public interface YamlMappingBuilder {
-
-    /**
-     * Add a pair to the mapping.
-     * @param key String
-     * @param value String
-     * @return This builder
-     */
-    default YamlMappingBuilder add(final String key, final String value) {
-        return this.add(key, value, "");
-    }
-
     /**
      * Add a pair to the mapping.
      * @param key String
      * @param value String
-     * @param comment Comment that will appear on top of the pair.
      * @return This builder
      */
-    default YamlMappingBuilder add(
-        final String key,
-        final String value,
-        final String comment
-    ) {
-        return this.add(
-            Yaml.createYamlScalarBuilder().addLine(key).buildPlainScalar(),
-            Yaml.createYamlScalarBuilder().addLine(value).buildPlainScalar(),
-            comment
-        );
-    }
+    YamlMappingBuilder add(final String key, final String value);
 
     /**
      * Add a pair to the mapping.
@@ -70,80 +48,23 @@ public interface YamlMappingBuilder {
      * @param value String
      * @return This builder
      */
-    default YamlMappingBuilder add(final YamlNode key, final String value) {
-        return this.add(key, value, "");
-    }
+    YamlMappingBuilder add(final YamlNode key, final String value);
 
     /**
      * Add a pair to the mapping.
      * @param key YamlNode (sequence or mapping)
-     * @param value String
-     * @param comment Comment that will appear on top of the pair.
-     * @return This builder
-     */
-    default YamlMappingBuilder add(
-        final YamlNode key,
-        final String value,
-        final String comment
-    ) {
-        return this.add(
-            key,
-            Yaml.createYamlScalarBuilder().addLine(value).buildPlainScalar(),
-            comment
-        );
-    }
-
-    /**
-     * Add a pair to the mapping.
-     * @param key String
      * @param value YamlNode (sequence or mapping)
      * @return This builder
      */
-    default YamlMappingBuilder add(final String key, final YamlNode value) {
-        return this.add(key, value, "");
-    }
+    YamlMappingBuilder add(final YamlNode key, final YamlNode value);
 
     /**
      * Add a pair to the mapping.
      * @param key String
      * @param value YamlNode (sequence or mapping)
-     * @param comment Comment that will appear on top of the pair.
-     * @return This builder
-     */
-    default YamlMappingBuilder add(
-        final String key,
-        final YamlNode value,
-        final String comment
-    ) {
-        return this.add(
-            Yaml.createYamlScalarBuilder().addLine(key).buildPlainScalar(),
-            value,
-            comment
-        );
-    }
-
-    /**
-     * Add a pair to the mapping.
-     * @param key YamlNode (sequence or mapping)
-     * @param value YamlNode (sequence or mapping)
-     * @return This builder
-     */
-    default YamlMappingBuilder add(final YamlNode key, final YamlNode value) {
-        return this.add(key, value, "");
-    }
-
-    /**
-     * Add a pair to the mapping.
-     * @param key YamlNode (sequence or mapping)
-     * @param value YamlNode (sequence or mapping)
-     * @param comment Comment that will appear on top of this pair.
      * @return This builder
      */
-    YamlMappingBuilder add(
-        final YamlNode key,
-        final YamlNode value,
-        final String comment
-    );
+    YamlMappingBuilder add(final String key, final YamlNode value);
 
     /**
      * Build the YamlMapping.
diff --git a/src/main/java/com/amihaiemil/eoyaml/YamlNode.java b/src/main/java/com/amihaiemil/eoyaml/YamlNode.java
index 3df07b7..a4b38b7 100644
--- a/src/main/java/com/amihaiemil/eoyaml/YamlNode.java
+++ b/src/main/java/com/amihaiemil/eoyaml/YamlNode.java
@@ -34,4 +34,14 @@ package com.amihaiemil.eoyaml;
  * @since 1.0.0
  * @see <a href="http://yaml.org/spec/1.2/spec.html#node/">Spec1.2/node</a>
  */
-public interface YamlNode extends Comparable<YamlNode> { }
+public interface YamlNode extends Comparable<YamlNode> {
+
+    /**
+     * Comment referring to this Node.
+     * @return Comment. If there is no comment, it will return
+     *  an "empty" comment (an instance of Comment with empty-string value()).
+     */
+    Comment comment();
+
+
+}
diff --git a/src/main/java/com/amihaiemil/eoyaml/YamlSequence.java b/src/main/java/com/amihaiemil/eoyaml/YamlSequence.java
index 4063632..8486ad8 100644
--- a/src/main/java/com/amihaiemil/eoyaml/YamlSequence.java
+++ b/src/main/java/com/amihaiemil/eoyaml/YamlSequence.java
@@ -97,19 +97,6 @@ public interface YamlSequence extends YamlNode, Iterable<YamlNode> {
      */
     Iterator<YamlNode> iterator();
 
-    /**
-     * Comment referring to this YamlSequence.
-     * @return Comment.
-     */
-    Comment comment();
-
-    /**
-     * Comments referring to the elements of this sequence.
-     * @return Comments or Comments.Empty if there are no comments
-     *  to return.
-     */
-    Comments comments();
-
     /**
      * Convenience method to directly read an integer value
      * from this sequence. It is equivalent to:
diff --git a/src/main/java/com/amihaiemil/eoyaml/YamlSequenceBuilder.java b/src/main/java/com/amihaiemil/eoyaml/YamlSequenceBuilder.java
index 7beae33..8f41be1 100644
--- a/src/main/java/com/amihaiemil/eoyaml/YamlSequenceBuilder.java
+++ b/src/main/java/com/amihaiemil/eoyaml/YamlSequenceBuilder.java
@@ -40,39 +40,14 @@ public interface YamlSequenceBuilder {
      * @param value String
      * @return This builder
      */
-    default YamlSequenceBuilder add(final String value) {
-        return this.add(value, "");
-    }
-
-    /**
-     * Add a value to the sequence.
-     * @param value String
-     * @param comment Comment referring to the added value.
-     * @return This builder
-     */
-    default YamlSequenceBuilder add(final String value, final String comment) {
-        return this.add(
-            Yaml.createYamlScalarBuilder().addLine(value).buildPlainScalar(),
-            comment
-        );
-    }
-
-    /**
-     * Add a value to the sequence.
-     * @param node YamlNode
-     * @return This builder
-     */
-    default YamlSequenceBuilder add(final YamlNode node) {
-        return this.add(node, "");
-    }
+    YamlSequenceBuilder add(final String value);
 
     /**
      * Add a value to the sequence.
      * @param node YamlNode
-     * @param comment Comment referring to the added YamlNode.
      * @return This builder
      */
-    YamlSequenceBuilder add(final YamlNode node, final String comment);
+    YamlSequenceBuilder add(final YamlNode node);
 
     /**
      * Build the YamlSequence.
diff --git a/src/main/java/com/amihaiemil/eoyaml/YamlStream.java b/src/main/java/com/amihaiemil/eoyaml/YamlStream.java
index 2c7ba43..aad913b 100644
--- a/src/main/java/com/amihaiemil/eoyaml/YamlStream.java
+++ b/src/main/java/com/amihaiemil/eoyaml/YamlStream.java
@@ -54,6 +54,10 @@ public interface YamlStream extends YamlNode, Stream<YamlNode> {
      */
     Collection<YamlNode> values();
 
+    default Comment comment() {
+        return new BuiltComment(this, "");
+    }
+
     default Iterator<YamlNode> iterator() {
         return this.values().stream().iterator();
     }


Test patch:
diff --git a/src/test/java/com/amihaiemil/eoyaml/YamlMappingCommentsPrintTest.java b/src/test/java/com/amihaiemil/eoyaml/YamlMappingCommentsPrintTest.java
index bd67c22..b0627a8 100644
--- a/src/test/java/com/amihaiemil/eoyaml/YamlMappingCommentsPrintTest.java
+++ b/src/test/java/com/amihaiemil/eoyaml/YamlMappingCommentsPrintTest.java
@@ -54,20 +54,20 @@ public final class YamlMappingCommentsPrintTest {
     @Test
     public void printsBuiltYamlMappingWithComments() throws Exception {
         final YamlMapping commented = Yaml.createYamlMappingBuilder()
-            .add("architect", "mihai", "the Dictator")
+            .add("architect", "mihai")
             .add(
                 "developers",
                 Yaml.createYamlSequenceBuilder()
                     .add("rultor")
                     .add("salikjan")
                     .add("sherif")
-                    .build(),
-                "all the contributors here"
+                    .build("all the contributors here")
             )
             .add(
                 "name",
-                "eo-yaml",
-                "name of the project"
+                Yaml.createYamlScalarBuilder()
+                    .addLine("eo-yaml")
+                    .buildPlainScalar("name of the project")
             ).build("YamlMapping for test");
         System.out.println(commented);
         MatcherAssert.assertThat(
diff --git a/src/test/java/com/amihaiemil/eoyaml/YamlSequenceCommentsPrintTest.java b/src/test/java/com/amihaiemil/eoyaml/YamlSequenceCommentsPrintTest.java
index b80b43a..66a021e 100644
--- a/src/test/java/com/amihaiemil/eoyaml/YamlSequenceCommentsPrintTest.java
+++ b/src/test/java/com/amihaiemil/eoyaml/YamlSequenceCommentsPrintTest.java
@@ -55,14 +55,16 @@ public final class YamlSequenceCommentsPrintTest {
     public void printsBuiltYamlSequenceWithComments() throws Exception {
         final YamlSequence commented = Yaml.createYamlSequenceBuilder()
             .add("element1")
-            .add("element2", "a plain scalar string in a sequence")
+            .add(
+                Yaml.createYamlScalarBuilder()
+                    .addLine("element2")
+                    .buildPlainScalar("a plain scalar string in a sequence"))
             .add("element3")
             .add(
                 Yaml.createYamlMappingBuilder()
                     .add("key", "value")
                     .add("key2", "value2")
-                    .build(),
-                "a mapping as an element of a sequence"
+                    .build("a mapping as an element of a sequence")
             )
             .build("a sequence with comments");
         System.out.println(commented);
diff --git a/src/test/resources/commentedMapping.yml b/src/test/resources/commentedMapping.yml
index 12b6dbe..49020e3 100644
--- a/src/test/resources/commentedMapping.yml
+++ b/src/test/resources/commentedMapping.yml
@@ -1,5 +1,4 @@
 # YamlMapping for test
-# the Dictator
 architect: mihai
 # all the contributors here
 developers: