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

dklco pushed a commit to branch SLING-11078
in repository 
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-repoinit-parser.git

commit 4b632e9b6ec1a4ea52ba2079681982376ff26c08
Author: Dan Klco <[email protected]>
AuthorDate: Thu Jan 20 13:23:26 2022 -0500

    SLING-11078 - Fixing regression in DeleteGroup where line separater no 
longer aded to asRepoInitString()
---
 .../java/org/apache/sling/repoinit/parser/operations/DeleteGroup.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/src/main/java/org/apache/sling/repoinit/parser/operations/DeleteGroup.java 
b/src/main/java/org/apache/sling/repoinit/parser/operations/DeleteGroup.java
index 3fc1d85..690cd4f 100644
--- a/src/main/java/org/apache/sling/repoinit/parser/operations/DeleteGroup.java
+++ b/src/main/java/org/apache/sling/repoinit/parser/operations/DeleteGroup.java
@@ -47,7 +47,7 @@ public class DeleteGroup extends Operation {
     @NotNull
     @Override
     public String asRepoInitString() {
-        return String.format("delete group %s", 
QuotableStringUtil.forRepoInitString(groupname));
+        return String.format("delete group %s%n", 
QuotableStringUtil.forRepoInitString(groupname));
     }
 
     public String getGroupname() {

Reply via email to