Skip to content

Commit

Permalink
PDFBOX-5895: revert private stuff
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1921718 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
THausherr committed Oct 31, 2024
1 parent 0c11548 commit f832dfe
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tools/src/main/java/org/apache/pdfbox/tools/ExtractText.java
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,7 @@ public Integer call()
AccessPermission ap = document.getCurrentAccessPermission();
if( ! ap.canExtractContent() )
{
System.out.println( "You do not have permission to extract text" );
//SYSERR.println( "You do not have permission to extract text");
SYSERR.println( "You do not have permission to extract text");
return 1;
}

Expand Down Expand Up @@ -330,7 +329,6 @@ private void extractPages(int startPage, int endPage,
{
for (int p = startPage; p <= endPage; ++p)
{
//System.err.println("page " + p);
stripper.setStartPage(p);
stripper.setEndPage(p);
try
Expand Down

0 comments on commit f832dfe

Please sign in to comment.