You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by cz...@apache.org on 2021/01/26 11:22:48 UTC

[sling-org-apache-sling-feature] branch master updated: SLING-10091 : ConfigurationJSONReader returns empty list

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

cziegeler pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-feature.git


The following commit(s) were added to refs/heads/master by this push:
     new 75c4a03  SLING-10091 : ConfigurationJSONReader returns empty list
75c4a03 is described below

commit 75c4a034e2e673b06de83737c1d41291fe31963c
Author: Carsten Ziegeler <cz...@apache.org>
AuthorDate: Tue Jan 26 12:22:28 2021 +0100

    SLING-10091 : ConfigurationJSONReader returns empty list
---
 .../java/org/apache/sling/feature/io/json/ConfigurationJSONReader.java   | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/main/java/org/apache/sling/feature/io/json/ConfigurationJSONReader.java b/src/main/java/org/apache/sling/feature/io/json/ConfigurationJSONReader.java
index 7d4c555..4ab0db8 100644
--- a/src/main/java/org/apache/sling/feature/io/json/ConfigurationJSONReader.java
+++ b/src/main/java/org/apache/sling/feature/io/json/ConfigurationJSONReader.java
@@ -64,6 +64,7 @@ public class ConfigurationJSONReader {
             for(final Map.Entry<String, Object> prop : entry.getValue().entrySet()) {
                 cf.getProperties().put(prop.getKey(), prop.getValue());
             }
+            result.add(cf);
         }
 
         return result;