pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1709147 - /pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/pdmodel/CreateBookmarks.java
Date Sat, 17 Oct 2015 12:22:02 GMT
Author: tilman
Date: Sat Oct 17 12:22:02 2015
New Revision: 1709147

URL: http://svn.apache.org/viewvc?rev=1709147&view=rev
Log:
PDFBOX-3033: reference correct package, as suggested by Ben McCann

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

Modified: pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/pdmodel/CreateBookmarks.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/pdmodel/CreateBookmarks.java?rev=1709147&r1=1709146&r2=1709147&view=diff
==============================================================================
--- pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/pdmodel/CreateBookmarks.java
(original)
+++ pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/pdmodel/CreateBookmarks.java
Sat Oct 17 12:22:02 2015
@@ -29,8 +29,6 @@ import org.apache.pdfbox.pdmodel.interac
  * This is an example on how to add bookmarks to a PDF document.  It simply
  * adds 1 bookmark for every page.
  *
- * Usage: java org.apache.pdfbox.examples.pdmodel.CreateBookmarks <input-pdf>
<output-pdf>
- *
  * @author Ben Litchfield
  */
 public final class CreateBookmarks
@@ -100,6 +98,6 @@ public final class CreateBookmarks
      */
     private static void usage()
     {
-        System.err.println( "Usage: java org.apache.pdfbox.examples.pdmodel.CreateBookmarks
<input-pdf> <output-pdf>" );
+        System.err.println( "Usage: java " + CreateBookmarks.class.getName() + " <input-pdf>
<output-pdf>" );
     }
 }



Mime
View raw message