You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by ti...@apache.org on 2019/12/12 20:11:20 UTC

svn commit: r1871295 - in /pdfbox/branches/issue45: pdfbox/src/main/java/org/apache/pdfbox/multipdf/Splitter.java tools/src/main/java/org/apache/pdfbox/tools/PDFSplit.java

Author: tilman
Date: Thu Dec 12 20:11:20 2019
New Revision: 1871295

URL: http://svn.apache.org/viewvc?rev=1871295&view=rev
Log:
PDFBOX-4071: fix typo found by codespell on fossies.org, improve javadoc

Modified:
    pdfbox/branches/issue45/pdfbox/src/main/java/org/apache/pdfbox/multipdf/Splitter.java
    pdfbox/branches/issue45/tools/src/main/java/org/apache/pdfbox/tools/PDFSplit.java

Modified: pdfbox/branches/issue45/pdfbox/src/main/java/org/apache/pdfbox/multipdf/Splitter.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/issue45/pdfbox/src/main/java/org/apache/pdfbox/multipdf/Splitter.java?rev=1871295&r1=1871294&r2=1871295&view=diff
==============================================================================
--- pdfbox/branches/issue45/pdfbox/src/main/java/org/apache/pdfbox/multipdf/Splitter.java (original)
+++ pdfbox/branches/issue45/pdfbox/src/main/java/org/apache/pdfbox/multipdf/Splitter.java Thu Dec 12 20:11:20 2019
@@ -249,18 +249,18 @@ public class Splitter
                 }
                 if (destination instanceof PDPageDestination)
                 {
-                    // TODO preserve links to pages within the splitted result  
+                    // TODO preserve links to pages within the split result  
                     ((PDPageDestination) destination).setPage(null);
                 }
             }
-            // TODO preserve links to pages within the splitted result  
+            // TODO preserve links to pages within the split result  
             annotation.setPage(null);
         }
     }
     /**
      * The source PDF document.
      * 
-     * @return the pdf to be splitted
+     * @return the pdf to be split
      */
     protected final PDDocument getSourceDocument()
     {

Modified: pdfbox/branches/issue45/tools/src/main/java/org/apache/pdfbox/tools/PDFSplit.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/issue45/tools/src/main/java/org/apache/pdfbox/tools/PDFSplit.java?rev=1871295&r1=1871294&r2=1871295&view=diff
==============================================================================
--- pdfbox/branches/issue45/tools/src/main/java/org/apache/pdfbox/tools/PDFSplit.java (original)
+++ pdfbox/branches/issue45/tools/src/main/java/org/apache/pdfbox/tools/PDFSplit.java Thu Dec 12 20:11:20 2019
@@ -229,7 +229,7 @@ public final class PDFSplit
                 + "  -split     <integer>   : split after this many pages (default 1, if startPage and endPage are unset)\n"
                 + "  -startPage <integer>   : start page\n"
                 + "  -endPage   <integer>   : end page\n"
-                + "  -outputPrefix <prefix> : Filename prefix for splitted files\n"
+                + "  -outputPrefix <prefix> : Filename prefix for split files\n"
                 + "  <inputfile>            : The PDF document to use\n";
         
         System.err.println(message);