You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2007/06/12 14:07:07 UTC

svn commit: r546464 - /lenya/trunk/src/modules-core/linking/java/src/org/apache/lenya/cms/cocoon/transformation/ProxyTransformer.java

Author: andreas
Date: Tue Jun 12 05:07:07 2007
New Revision: 546464

URL: http://svn.apache.org/viewvc?view=rev&rev=546464
Log:
Removed debug log (covered by superclass) and unnecessary try block

Modified:
    lenya/trunk/src/modules-core/linking/java/src/org/apache/lenya/cms/cocoon/transformation/ProxyTransformer.java

Modified: lenya/trunk/src/modules-core/linking/java/src/org/apache/lenya/cms/cocoon/transformation/ProxyTransformer.java
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules-core/linking/java/src/org/apache/lenya/cms/cocoon/transformation/ProxyTransformer.java?view=diff&rev=546464&r1=546463&r2=546464
==============================================================================
--- lenya/trunk/src/modules-core/linking/java/src/org/apache/lenya/cms/cocoon/transformation/ProxyTransformer.java (original)
+++ lenya/trunk/src/modules-core/linking/java/src/org/apache/lenya/cms/cocoon/transformation/ProxyTransformer.java Tue Jun 12 05:07:07 2007
@@ -75,15 +75,7 @@
 
     protected void handleLink(String linkUrl, AttributeConfiguration config, AttributesImpl newAttrs) throws Exception {
         if (linkUrl.startsWith("/")) {
-            try {
-                rewriteLink(newAttrs, config.attribute, linkUrl);
-                if (getLogger().isDebugEnabled()) {
-                    getLogger().debug(this.indent + "link URL: [" + linkUrl + "]");
-                }
-            } catch (final Exception e) {
-                getLogger().error("startElement failed: ", e);
-                throw new SAXException(e);
-            }
+            rewriteLink(newAttrs, config.attribute, linkUrl);
         }
     }
 



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org