You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by gi...@apache.org on 2003/01/08 17:27:14 UTC
cvs commit: xml-cocoon2/src/blocks/batik/java/org/apache/cocoon/serialization SVGSerializer.java
giacomo 2003/01/08 08:27:13
Modified: src/blocks/batik/java/org/apache/cocoon/serialization
SVGSerializer.java
Log:
fixed a todo. God! Eclipse even finds those // TODO lines
Revision Changes Path
1.2 +4 -3 xml-cocoon2/src/blocks/batik/java/org/apache/cocoon/serialization/SVGSerializer.java
Index: SVGSerializer.java
===================================================================
RCS file: /home/cvs/xml-cocoon2/src/blocks/batik/java/org/apache/cocoon/serialization/SVGSerializer.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -b -u -r1.1 -r1.2
--- SVGSerializer.java 16 Sep 2002 15:35:06 -0000 1.1
+++ SVGSerializer.java 8 Jan 2003 16:27:13 -0000 1.2
@@ -199,8 +199,9 @@
// Assume String, and get the value. Allow an empty string.
value = parameters[i].getValue("");
}
- // TODO: if (logger.isDebug())
+ if(log.isDebugEnabled()) {
log.debug("SVG Serializer: adding hint \"" + name + "\" with value \"" + value.toString() + "\"");
+ }
transcoder.addTranscodingHint(key, value);
} catch (ClassCastException ex) {
// This is only thrown from the String keyType... line
----------------------------------------------------------------------
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