incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r931498 - /sling/trunk/contrib/extensions/rewriter/src/main/java/org/apache/sling/rewriter/impl/ProcessingComponentConfigurationImpl.java
Date Wed, 07 Apr 2010 10:50:59 GMT
Author: cziegeler
Date: Wed Apr  7 10:50:59 2010
New Revision: 931498

URL: http://svn.apache.org/viewvc?rev=931498&view=rev
Log:
Add web console plugin to display current rewriter configuration

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

Modified: sling/trunk/contrib/extensions/rewriter/src/main/java/org/apache/sling/rewriter/impl/ProcessingComponentConfigurationImpl.java
URL: http://svn.apache.org/viewvc/sling/trunk/contrib/extensions/rewriter/src/main/java/org/apache/sling/rewriter/impl/ProcessingComponentConfigurationImpl.java?rev=931498&r1=931497&r2=931498&view=diff
==============================================================================
--- sling/trunk/contrib/extensions/rewriter/src/main/java/org/apache/sling/rewriter/impl/ProcessingComponentConfigurationImpl.java
(original)
+++ sling/trunk/contrib/extensions/rewriter/src/main/java/org/apache/sling/rewriter/impl/ProcessingComponentConfigurationImpl.java
Wed Apr  7 10:50:59 2010
@@ -85,7 +85,7 @@ public class ProcessingComponentConfigur
 
     void printConfiguration(final PrintWriter pw) {
         pw.print(this.type);
-        if ( this.configuration == null ) {
+        if ( this.configuration == EMPTY_CONFIG ) {
             pw.println();
         } else {
             pw.print(" : ");



Mime
View raw message