aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2006-02-07 14:27:04 +0000
committerJeremias Maerki <jeremias@apache.org>2006-02-07 14:27:04 +0000
commiteba245a39c726af49a85cd16f876ae6c63bd2e7e (patch)
tree98566de50c1f0d95cf9b21fec2620fa0bd918f1c
parentfc6a15c27b59633a456dc8d3fcb97dd2c56201f0 (diff)
downloadxmlgraphics-fop-eba245a39c726af49a85cd16f876ae6c63bd2e7e.tar.gz
xmlgraphics-fop-eba245a39c726af49a85cd16f876ae6c63bd2e7e.zip
Style fixes
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@375605 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--src/java/org/apache/fop/fo/XMLObj.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/fo/XMLObj.java b/src/java/org/apache/fop/fo/XMLObj.java
index c7b3d1b6f..55d8c2988 100644
--- a/src/java/org/apache/fop/fo/XMLObj.java
+++ b/src/java/org/apache/fop/fo/XMLObj.java
@@ -24,7 +24,6 @@ import java.util.HashMap;
import javax.xml.parsers.DocumentBuilderFactory;
-import org.apache.batik.dom.svg.SVGDOMImplementation;
import org.apache.batik.dom.util.XMLSupport;
import org.apache.fop.apps.FOPException;
import org.w3c.dom.Document;
@@ -87,6 +86,7 @@ public abstract class XMLObj extends FONode {
/**
* Returns the dimensions of the generated area in pts.
+ * @param view Point2D instance to receive the dimensions
* @return the requested dimensions in pts.
*/
public Point2D getDimension(Point2D view) {
@@ -207,7 +207,7 @@ public abstract class XMLObj extends FONode {
* @param pList the currently applicable property list
* @param locator location in fo source file.
*/
- protected void addCharacters(char data[], int start, int length,
+ protected void addCharacters(char[] data, int start, int length,
PropertyList pList, Locator locator) {
String str = new String(data, start, length - start);
org.w3c.dom.Text text = doc.createTextNode(str);