You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by re...@apache.org on 2011/10/12 23:57:46 UTC
svn commit: r1182593 -
/cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/component/XSLTTransformer.java
Author: reinhard
Date: Wed Oct 12 21:57:46 2011
New Revision: 1182593
URL: http://svn.apache.org/viewvc?rev=1182593&view=rev
Log:
use static logger in a static way
Modified:
cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/component/XSLTTransformer.java
Modified: cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/component/XSLTTransformer.java
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/component/XSLTTransformer.java?rev=1182593&r1=1182592&r2=1182593&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/component/XSLTTransformer.java (original)
+++ cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/component/XSLTTransformer.java Wed Oct 12 21:57:46 2011
@@ -102,7 +102,7 @@ public class XSLTTransformer extends Abs
}
/**
- * Creates a new transformer reading the XSLT from the URL source and
+ * Creates a new transformer reading the XSLT from the URL source and
* setting the TransformerFactory attributes.
*
* This constructor is useful when users want to perform XSLT transformation
@@ -119,10 +119,10 @@ public class XSLTTransformer extends Abs
}
/**
- * Method useful to create a new transformer reading the XSLT from the URL
+ * Method useful to create a new transformer reading the XSLT from the URL
* source and setting the Transformer Factory attributes.
*
- * This method is useful when users want to perform XSLT transformation
+ * This method is useful when users want to perform XSLT transformation
* using <a href="http://xml.apache.org/xalan-j/xsltc_usage.html">xsltc</a>.
*
* @param source the XSLT URL source
@@ -229,8 +229,8 @@ public class XSLTTransformer extends Abs
this.loadXSLT(this.source, null);
}
} else {
- if (this.LOG.isDebugEnabled()) {
- this.LOG.debug("Impossible to load XSLT parameters from '"
+ if (LOG.isDebugEnabled()) {
+ LOG.debug("Impossible to load XSLT parameters from '"
+ this.source + "' source, make sure it is NOT null "
+ "and is a valid URL");
}