pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1845195 - /pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/utils/ByteArrayDataSource.java
Date Tue, 30 Oct 2018 04:45:51 GMT
Author: tilman
Date: Tue Oct 30 04:45:51 2018
New Revision: 1845195

URL: http://svn.apache.org/viewvc?rev=1845195&view=rev
Log:
PDFBOX-4071: simplify code

Modified:
    pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/utils/ByteArrayDataSource.java

Modified: pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/utils/ByteArrayDataSource.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/utils/ByteArrayDataSource.java?rev=1845195&r1=1845194&r2=1845195&view=diff
==============================================================================
--- pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/utils/ByteArrayDataSource.java
(original)
+++ pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/utils/ByteArrayDataSource.java
Tue Oct 30 04:45:51 2018
@@ -31,7 +31,6 @@ import org.apache.pdfbox.io.IOUtils;
 public class ByteArrayDataSource implements DataSource
 {
     private final ByteArrayOutputStream data;
-    private final String name = null;
 
     public ByteArrayDataSource(InputStream is) throws IOException
     {
@@ -49,6 +48,6 @@ public class ByteArrayDataSource impleme
     @Override
     public String getName()
     {
-        return this.name;
+        return null;
     }
 }



Mime
View raw message