You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by vg...@apache.org on 2002/03/09 07:46:01 UTC
cvs commit: xml-cocoon2/src/java/org/apache/cocoon/transformation TraxTransformer.java
vgritsenko 02/03/08 22:46:01
Modified: src/java/org/apache/cocoon/transformation
TraxTransformer.java
Log:
align code
Revision Changes Path
1.19 +10 -12 xml-cocoon2/src/java/org/apache/cocoon/transformation/TraxTransformer.java
Index: TraxTransformer.java
===================================================================
RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/transformation/TraxTransformer.java,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- TraxTransformer.java 22 Feb 2002 15:25:29 -0000 1.18
+++ TraxTransformer.java 9 Mar 2002 06:46:01 -0000 1.19
@@ -157,7 +157,7 @@
* @author <a href="mailto:giacomo@apache.org">Giacomo Pati</a>
* @author <a href="mailto:ovidiu@cup.hp.com">Ovidiu Predescu</a>
* @author <a href="mailto:marbut@hplb.hpl.hp.com">Mark H. Butler</a>
- * @version CVS $Id: TraxTransformer.java,v 1.18 2002/02/22 15:25:29 cziegeler Exp $
+ * @version CVS $Id: TraxTransformer.java,v 1.19 2002/03/09 06:46:01 vgritsenko Exp $
*/
public class TraxTransformer extends AbstractTransformer
implements Transformer, Composable, Configurable, Cacheable, Disposable {
@@ -257,16 +257,16 @@
if (this.manager.hasComponent(Deli.ROLE)) {
- try {
- if (this.getLogger().isDebugEnabled()) {
- getLogger().debug("Looking up " + Deli.ROLE);
+ try {
+ if (this.getLogger().isDebugEnabled()) {
+ getLogger().debug("Looking up " + Deli.ROLE);
+ }
+ this.deli = (Deli) this.manager.lookup(Deli.ROLE);
+ } catch (ComponentException e) {
+ getLogger().debug("Deli is not available");
+ } catch (NoClassDefFoundError e) {
+ getLogger().debug("Deli is not available");
}
- this.deli = (Deli) this.manager.lookup(Deli.ROLE);
- } catch (ComponentException e) {
- getLogger().debug("Deli is not available");
- } catch (NoClassDefFoundError e) {
- getLogger().debug("Deli is not available");
- }
}
}
@@ -567,6 +567,4 @@
this.getLogger().error("Error in TraxTransformer.comment.", any);
}
}
-
-
}
----------------------------------------------------------------------
In case of troubles, e-mail: webmaster@xml.apache.org
To unsubscribe, e-mail: cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org