You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by ar...@locus.apache.org on 2000/12/22 03:57:05 UTC
cvs commit: xml-fop/src/org/apache/fop/pdf PDFStream.java
arved 00/12/21 18:57:05
Modified: src/org/apache/fop/pdf PDFStream.java
Log:
JDK 1.1.x changes. Thanks to Art Welch.
Revision Changes Path
1.7 +5 -5 xml-fop/src/org/apache/fop/pdf/PDFStream.java
Index: PDFStream.java
===================================================================
RCS file: /home/cvs/xml-fop/src/org/apache/fop/pdf/PDFStream.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- PDFStream.java 2000/12/18 02:28:34 1.6
+++ PDFStream.java 2000/12/22 02:57:04 1.7
@@ -1,4 +1,4 @@
-/*-- $Id: PDFStream.java,v 1.6 2000/12/18 02:28:34 kellyc Exp $ --
+/*-- $Id: PDFStream.java,v 1.7 2000/12/22 02:57:04 arved Exp $ --
============================================================================
The Apache Software License, Version 1.1
@@ -110,7 +110,7 @@
public void addFilter(PDFFilter filter)
{
if (filter != null) {
- _filters.add(filter);
+ _filters.addElement(filter);
}
}
@@ -233,7 +233,7 @@
}
*/
public byte[] toPDF() {
- throw new UnsupportedOperationException();
+ throw new RuntimeException();
}
@@ -301,8 +301,8 @@
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