pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1844138 - in /pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight: PreflightContext.java process/StreamValidationProcess.java
Date Wed, 17 Oct 2018 17:27:47 GMT
Author: tilman
Date: Wed Oct 17 17:27:47 2018
New Revision: 1844138

URL: http://svn.apache.org/viewvc?rev=1844138&view=rev
Log:
PDFBOX-4071: change method name to make it easier to find

Modified:
    pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/PreflightContext.java
    pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/process/StreamValidationProcess.java

Modified: pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/PreflightContext.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/PreflightContext.java?rev=1844138&r1=1844137&r2=1844138&view=diff
==============================================================================
--- pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/PreflightContext.java
(original)
+++ pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/PreflightContext.java
Wed Oct 17 17:27:47 2018
@@ -145,7 +145,7 @@ public class PreflightContext implements
      * 
      * @return The datasource of the pdf document
      */
-    public DataSource getSource()
+    public DataSource getDataSource()
     {
         return dataSource;
     }

Modified: pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/process/StreamValidationProcess.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/process/StreamValidationProcess.java?rev=1844138&r1=1844137&r2=1844138&view=diff
==============================================================================
--- pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/process/StreamValidationProcess.java
(original)
+++ pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/process/StreamValidationProcess.java
Wed Oct 17 17:27:47 2018
@@ -204,7 +204,7 @@ public class StreamValidationProcess ext
         InputStream ra = null;
         try
         {
-            ra = context.getSource().getInputStream();
+            ra = context.getDataSource().getInputStream();
             Long offset = context.getDocument().getDocument().getXrefTable().get(new COSObjectKey(cObj));
 
             // ---- go to the beginning of the object



Mime
View raw message