You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/11/07 09:57:26 UTC

[sling-org-apache-sling-provisioning-model] 30/34: Fix reading configs

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

rombert pushed a commit to annotated tag org.apache.sling.provisioning.model-1.0.0
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-provisioning-model.git

commit d71c81096166b609835de1c1dcb8be8c730c8a75
Author: Carsten Ziegeler <cz...@apache.org>
AuthorDate: Wed Oct 8 15:53:00 2014 +0000

    Fix reading configs
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/tooling/support/provisioning-model@1630154 13f79535-47bb-0310-9956-ffa450edef68
---
 src/main/java/org/apache/sling/provisioning/model/io/ModelReader.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/main/java/org/apache/sling/provisioning/model/io/ModelReader.java b/src/main/java/org/apache/sling/provisioning/model/io/ModelReader.java
index 15bf545..5fa2f7e 100644
--- a/src/main/java/org/apache/sling/provisioning/model/io/ModelReader.java
+++ b/src/main/java/org/apache/sling/provisioning/model/io/ModelReader.java
@@ -266,6 +266,7 @@ public class ModelReader {
                                           mode = CATEGORY.CONFIG;
                                           break;
                     case CONFIG : configBuilder.append(line);
+                                  configBuilder.append('\n');
                                   break;
                 }
             }

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.