Author: msahyoun
Date: Sat Feb  3 21:54:35 2018
New Revision: 1823062

URL: http://svn.apache.org/viewvc?rev=1823062&view=rev
Log:
PDFBOX-3709: remove deprecated constructors

Modified:
    
pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDPageContentStream.java

Modified: 
pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDPageContentStream.java
URL: 
http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDPageContentStream.java?rev=1823062&r1=1823061&r2=1823062&view=diff
==============================================================================
--- 
pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDPageContentStream.java
 (original)
+++ 
pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDPageContentStream.java
 Sat Feb  3 21:54:35 2018
@@ -106,24 +106,6 @@ public final class PDPageContentStream e
     }
 
     /**
-     * Create a new PDPage content stream.
-     *
-     * @param document The document the page is part of.
-     * @param sourcePage The page to write the contents to.
-     * @param appendContent Indicates whether content will be overwritten. If 
false all previous
-     *                      content is deleted.
-     * @param compress Tell if the content stream should compress the page 
contents.
-     * @throws IOException If there is an error writing to the page contents.
-     * @deprecated use {@link #PDPageContentStream(PDDocument, PDPage, 
PDPageContentStream.AppendMode, boolean)}
-     */
-    @Deprecated
-    public PDPageContentStream(PDDocument document, PDPage sourcePage, boolean 
appendContent,
-                               boolean compress) throws IOException
-    {
-        this(document, sourcePage, appendContent, compress, false);
-    }
-
-    /**
      * Create a new PDPage content stream. If the appendContent parameter is 
set to
      * {@link AppendMode#APPEND}, you may want to use
      * {@link #PDPageContentStream(PDDocument, PDPage, 
PDPageContentStream.AppendMode, boolean, boolean)}
@@ -140,27 +122,6 @@ public final class PDPageContentStream e
     {
         this(document, sourcePage, appendContent, compress, false);
     }
-
-    /**
-     * Create a new PDPage content stream.
-     *
-     * @param document The document the page is part of.
-     * @param sourcePage The page to write the contents to.
-     * @param appendContent Indicates whether content will be overwritten. If 
false all previous
-     *                      content is deleted.
-     * @param compress Tell if the content stream should compress the page 
contents.
-     * @param resetContext Tell if the graphic context should be reseted. You 
should use this when
-     * appending to an existing stream, because the existing stream may have 
changed graphic
-     * properties (e.g. scaling, rotation).
-     * @throws IOException If there is an error writing to the page contents.
-     * @deprecated use {@link #PDPageContentStream(PDDocument, PDPage, 
PDPageContentStream.AppendMode, boolean, boolean) }
-     */
-    @Deprecated
-    public PDPageContentStream(PDDocument document, PDPage sourcePage, boolean 
appendContent,
-                               boolean compress, boolean resetContext) throws 
IOException
-    {
-      this (document, sourcePage, appendContent ? AppendMode.APPEND : 
AppendMode.OVERWRITE, compress, resetContext);
-    }
     
     /**
      * Create a new PDPage content stream.


Reply via email to