pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1578940 - /pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/graphics/image/NullOutputStream.java
Date Tue, 18 Mar 2014 14:57:37 GMT
Author: tilman
Date: Tue Mar 18 14:57:37 2014
New Revision: 1578940

URL: http://svn.apache.org/r1578940
Log:
PDFBOX-1990: optimize NullOutputStream for speed

Modified:
    pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/graphics/image/NullOutputStream.java

Modified: pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/graphics/image/NullOutputStream.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/graphics/image/NullOutputStream.java?rev=1578940&r1=1578939&r2=1578940&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/graphics/image/NullOutputStream.java
(original)
+++ pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/graphics/image/NullOutputStream.java
Tue Mar 18 14:57:37 2014
@@ -29,4 +29,14 @@ public class NullOutputStream extends Ou
     public void write(int b) throws IOException
     {
     }
+
+    @Override
+    public void write(byte[] b, int off, int len) throws IOException
+    {
+    }
+
+    @Override
+    public void write(byte[] b) throws IOException
+    {
+    }
 }



Mime
View raw message