incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r814679 - /sling/trunk/contrib/extensions/rewriter/src/main/java/org/apache/sling/rewriter/impl/ProcessorConfigurationImpl.java
Date Mon, 14 Sep 2009 15:06:53 GMT
Author: cziegeler
Date: Mon Sep 14 15:06:52 2009
New Revision: 814679

URL: http://svn.apache.org/viewvc?rev=814679&view=rev
Log:
Correctly read from configuration nodes.

Modified:
    sling/trunk/contrib/extensions/rewriter/src/main/java/org/apache/sling/rewriter/impl/ProcessorConfigurationImpl.java

Modified: sling/trunk/contrib/extensions/rewriter/src/main/java/org/apache/sling/rewriter/impl/ProcessorConfigurationImpl.java
URL: http://svn.apache.org/viewvc/sling/trunk/contrib/extensions/rewriter/src/main/java/org/apache/sling/rewriter/impl/ProcessorConfigurationImpl.java?rev=814679&r1=814678&r2=814679&view=diff
==============================================================================
--- sling/trunk/contrib/extensions/rewriter/src/main/java/org/apache/sling/rewriter/impl/ProcessorConfigurationImpl.java
(original)
+++ sling/trunk/contrib/extensions/rewriter/src/main/java/org/apache/sling/rewriter/impl/ProcessorConfigurationImpl.java
Mon Sep 14 15:06:52 2009
@@ -175,7 +175,7 @@
                 final Resource childResource = configResource.getResourceResolver().getResource(configResource,
resourceName);
                 final Map<String, Object> config;
                 if ( childResource != null ) {
-                    final ValueMap childProps = ResourceUtil.getValueMap(configResource);
+                    final ValueMap childProps = ResourceUtil.getValueMap(childResource);
                     config = new HashMap<String, Object>(childProps);
                 } else {
                     config = null;



Mime
View raw message