You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by vh...@apache.org on 2001/04/28 01:23:25 UTC
cvs commit: xml-batik/sources/org/apache/batik/svggen SVGPath.java
vhardy 01/04/27 16:23:25
Modified: sources/org/apache/batik/svggen SVGPath.java
Log:
Fixed d trimming issue.
Revision Changes Path
1.8 +2 -2 xml-batik/sources/org/apache/batik/svggen/SVGPath.java
Index: SVGPath.java
===================================================================
RCS file: /home/cvs/xml-batik/sources/org/apache/batik/svggen/SVGPath.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- SVGPath.java 2001/03/26 12:37:35 1.7
+++ SVGPath.java 2001/04/27 23:23:24 1.8
@@ -31,7 +31,7 @@
* to be specified in the majority of path elements.
*
* @author <a href="mailto:vincent.hardy@eng.sun.com">Vincent Hardy</a>
- * @version $Id: SVGPath.java,v 1.7 2001/03/26 12:37:35 tkormann Exp $
+ * @version $Id: SVGPath.java,v 1.8 2001/04/27 23:23:24 vhardy Exp $
*/
public class SVGPath extends SVGGraphicObjectConverter {
/**
@@ -117,7 +117,7 @@
} // while !isDone
if (d.length() > 0)
- return d.substring(0, d.length() - 1);
+ return d.toString().trim();
else
return "";
}
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-dev-help@xml.apache.org