aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache/fop/pdf
diff options
context:
space:
mode:
authorarved <arved@unknown>2000-12-22 02:57:04 +0000
committerarved <arved@unknown>2000-12-22 02:57:04 +0000
commit26db794f3622761cecde0b4e03a1c82c6f0c96e8 (patch)
treef63818a68a85a5eedee4eb3ce09b0329f100e8d4 /src/org/apache/fop/pdf
parent1c3467b23a7839ab29d4236af50ddcad56f4db5b (diff)
downloadxmlgraphics-fop-26db794f3622761cecde0b4e03a1c82c6f0c96e8.tar.gz
xmlgraphics-fop-26db794f3622761cecde0b4e03a1c82c6f0c96e8.zip
JDK 1.1.x changes. Thanks to Art Welch.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193920 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/org/apache/fop/pdf')
-rw-r--r--src/org/apache/fop/pdf/PDFStream.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/org/apache/fop/pdf/PDFStream.java b/src/org/apache/fop/pdf/PDFStream.java
index 4ac8b75e2..b374b062c 100644
--- a/src/org/apache/fop/pdf/PDFStream.java
+++ b/src/org/apache/fop/pdf/PDFStream.java
@@ -110,7 +110,7 @@ public class PDFStream extends PDFObject {
public void addFilter(PDFFilter filter)
{
if (filter != null) {
- _filters.add(filter);
+ _filters.addElement(filter);
}
}
@@ -233,7 +233,7 @@ public class PDFStream extends PDFObject {
}
*/
public byte[] toPDF() {
- throw new UnsupportedOperationException();
+ throw new RuntimeException();
}
@@ -301,8 +301,8 @@ public class PDFStream extends PDFObject {
filter.setApplied(true);
}
// place the names in our local vector in reverse order
- names.add(0, filter.getName());
- parms.add(0, filter.getDecodeParms());
+ names.insertElementAt(filter.getName(), 0);
+ parms.insertElementAt(filter.getDecodeParms(), 0);
}
// now build up the filter entries for the dictionary