cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r935059 - /cocoon/cocoon3/trunk/cocoon-sax/src/test/java/org/apache/cocoon/sax/component/LinkRewriterTransformerTest.java
Date Fri, 16 Apr 2010 19:37:40 GMT
Author: simonetripodi
Date: Fri Apr 16 19:37:40 2010
New Revision: 935059

URL: http://svn.apache.org/viewvc?rev=935059&view=rev
Log:
debugging to info when a link is rewritten

Modified:
    cocoon/cocoon3/trunk/cocoon-sax/src/test/java/org/apache/cocoon/sax/component/LinkRewriterTransformerTest.java

Modified: cocoon/cocoon3/trunk/cocoon-sax/src/test/java/org/apache/cocoon/sax/component/LinkRewriterTransformerTest.java
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-sax/src/test/java/org/apache/cocoon/sax/component/LinkRewriterTransformerTest.java?rev=935059&r1=935058&r2=935059&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-sax/src/test/java/org/apache/cocoon/sax/component/LinkRewriterTransformerTest.java
(original)
+++ cocoon/cocoon3/trunk/cocoon-sax/src/test/java/org/apache/cocoon/sax/component/LinkRewriterTransformerTest.java
Fri Apr 16 19:37:40 2010
@@ -126,6 +126,12 @@ public final class LinkRewriterTransform
                 String link) throws Exception {
 
             if (!link.startsWith("http")) {
+                if (this.getLog().isInfoEnabled()) {
+                    this.getLog().info("Rewriting link '"
+                            + link
+                            + "'");
+                }
+
                 return "http://www.apache.org"
                         + (link.startsWith(".")
                         ? link.substring(1) : (!link.startsWith("/")



Mime
View raw message