Author: tilman
Date: Fri May 17 13:34:03 2024
New Revision: 1917786

URL: http://svn.apache.org/viewvc?rev=1917786&view=rev
Log:
PDFBOX-5660, PDFBOX-5580: revert commit due to incompatibility with 
PDFTextStripperByArea

Modified:
    
pdfbox/branches/3.0/pdfbox/src/main/java/org/apache/pdfbox/text/PDFTextStripper.java

Modified: 
pdfbox/branches/3.0/pdfbox/src/main/java/org/apache/pdfbox/text/PDFTextStripper.java
URL: 
http://svn.apache.org/viewvc/pdfbox/branches/3.0/pdfbox/src/main/java/org/apache/pdfbox/text/PDFTextStripper.java?rev=1917786&r1=1917785&r2=1917786&view=diff
==============================================================================
--- 
pdfbox/branches/3.0/pdfbox/src/main/java/org/apache/pdfbox/text/PDFTextStripper.java
 (original)
+++ 
pdfbox/branches/3.0/pdfbox/src/main/java/org/apache/pdfbox/text/PDFTextStripper.java
 Fri May 17 13:34:03 2024
@@ -950,10 +950,6 @@ public class PDFTextStripper extends Leg
      */
     public void setStartPage(int startPageValue)
     {
-        if (startPageValue <= 0)
-        {
-            LOG.warn("Parameter must be 1-based, but is " + startPageValue);
-        }
         startPage = startPageValue;
     }
 
@@ -976,10 +972,6 @@ public class PDFTextStripper extends Leg
      */
     public void setEndPage(int endPageValue)
     {
-        if (endPageValue <= 0)
-        {
-            LOG.warn("Parameter must be 1-based, but is " + endPageValue);
-        }
         endPage = endPageValue;
     }
 


Reply via email to