Author: antonio
Date: Sat Apr 23 18:48:16 2005
New Revision: 164438
URL: http://svn.apache.org/viewcvs?rev=164438&view=rev
Log:
Backporting changes
Modified:
cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/transformation/SourceWritingTransformer.java
Modified:
cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/transformation/SourceWritingTransformer.java
URL:
http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/transformation/SourceWritingTransformer.java?rev=164438&r1=164437&r2=164438&view=diff
==============================================================================
---
cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/transformation/SourceWritingTransformer.java
(original)
+++
cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/transformation/SourceWritingTransformer.java
Sat Apr 23 18:48:16 2005
@@ -285,8 +285,7 @@
protected XPathProcessor xpathProcessor;
/**
- * Constructor.
- * Sets the namespace.
+ * Constructor. Set the namespace.
*/
public SourceWritingTransformer() {
this.defaultNamespaceURI = SWT_URI;
@@ -298,7 +297,7 @@
*/
public void configure(Configuration configuration)
throws ConfigurationException {
- super.configure( configuration );
+ super.configure(configuration);
this.configuredSerializerName =
configuration.getChild(SERIALIZER_ATTRIBUTE).getValue(DEFAULT_SERIALIZER);
}
@@ -578,12 +577,12 @@
// no sync req
if (getLogger().isDebugEnabled()) {
getLogger().debug("Insert fragment. systemID=" + systemID +
- ", path="+path+
- ", replace="+replacePath+
- ", create="+create+
- ", overwrite="+overwrite+
- ", reinsert="+reinsertPath+
- ", fragment="+(fragment == null ? "null" :
XMLUtils.serializeNode(fragment, XMLUtils.createPropertiesForXML(false))));
+ ", path=" + path +
+ ", replace=" + replacePath +
+ ", create=" + create +
+ ", overwrite=" + overwrite +
+ ", reinsert=" + reinsertPath +
+ ", fragment=" + (fragment == null ? "null" :
XMLUtils.serializeNode(fragment)));
}
// test parameter
@@ -813,7 +812,7 @@
* @see org.apache.avalon.framework.activity.Disposable#dispose()
*/
public void dispose() {
- if ( this.manager != null ) {
+ if (this.manager != null) {
this.manager.release(this.xpathProcessor);
this.xpathProcessor = null;
}