pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1646692 - /pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/content/PreflightContentStream.java
Date Fri, 19 Dec 2014 12:34:43 GMT
Author: tilman
Date: Fri Dec 19 12:34:42 2014
New Revision: 1646692

URL: http://svn.apache.org/r1646692
Log:
PDFBOX-2576: ContentStreamException is an IOException

Modified:
    pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/content/PreflightContentStream.java

Modified: pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/content/PreflightContentStream.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/content/PreflightContentStream.java?rev=1646692&r1=1646691&r2=1646692&view=diff
==============================================================================
--- pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/content/PreflightContentStream.java
(original)
+++ pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/content/PreflightContentStream.java
Fri Dec 19 12:34:42 2014
@@ -171,11 +171,9 @@ public class PreflightContentStream exte
      * 
      * @param operator
      * @param arguments
-     * @throws ContentStreamException
      * @throws IOException
      */
-    protected void checkShowTextOperators(Operator operator, List<?> arguments) throws
ContentStreamException,
-            IOException
+    protected void checkShowTextOperators(Operator operator, List<?> arguments) throws
IOException
     {
         String op = operator.getName();
         if ("Tj".equals(op) || "'".equals(op) || "\"".equals(op))
@@ -197,11 +195,9 @@ public class PreflightContentStream exte
      * 
      * @param operator
      * @param arguments
-     * @throws ContentStreamException
      * @throws IOException
      */
-    private void validateStringDefinition(Operator operator, List<?> arguments) throws
ContentStreamException,
-            IOException
+    private void validateStringDefinition(Operator operator, List<?> arguments) throws
IOException
     {
         /*
          * For a Text operator, the arguments list should contain only one COSString object
@@ -258,10 +254,9 @@ public class PreflightContentStream exte
      * 
      * @param operator
      * @param arguments
-     * @throws ContentStreamException
      * @throws IOException
      */
-    private void validateStringArray(Operator operator, List<?> arguments) throws ContentStreamException,
IOException
+    private void validateStringArray(Operator operator, List<?> arguments) throws IOException
     {
         for (Object object : arguments)
         {



Mime
View raw message