]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Use the toPDFString() (returns String) method instead of toPDF() (returns byte[]...
authorJeremias Maerki <jeremias@apache.org>
Thu, 27 Mar 2003 10:45:37 +0000 (10:45 +0000)
committerJeremias Maerki <jeremias@apache.org>
Thu, 27 Mar 2003 10:45:37 +0000 (10:45 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196160 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/pdf/PDFUri.java

index 9e13cf3af1159e009abd45496ed89629292c24f9..f47dba23b617f27caa726d5ad5203b8679efce6d 100644 (file)
@@ -76,13 +76,10 @@ public class PDFUri extends PDFAction {
     }
 
     /**
-     * There is nothing to return for the toPDF method
-     * as it should not be called.
-     *
-     * @return an empty array
+     * @see org.apache.fop.pdf.PDFObject#toPDFString()
      */
-    public byte[] toPDF() {
-        return new byte[0];
+    public String toPDFString() {
+        throw new UnsupportedOperationException("This method should not be called");
     }
 
 }