pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1664881 - in /pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/pdmodel: AddAnnotations.java ReplaceURLs.java
Date Sat, 07 Mar 2015 16:08:20 GMT
Author: tilman
Date: Sat Mar  7 16:08:20 2015
New Revision: 1664881

URL: http://svn.apache.org/r1664881
Log:
PDFBOX-2576: use current project URL

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

Modified: pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/pdmodel/AddAnnotations.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/pdmodel/AddAnnotations.java?rev=1664881&r1=1664880&r2=1664881&view=diff
==============================================================================
--- pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/pdmodel/AddAnnotations.java
(original)
+++ pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/pdmodel/AddAnnotations.java
Sat Mar  7 16:08:20 2015
@@ -134,7 +134,7 @@ public class AddAnnotations
 
             // add an action
             PDActionURI action = new PDActionURI();
-            action.setURI("http://www.pdfbox.org");
+            action.setURI("http://pdfbox.apache.org");
             txtLink.setAction(action);
             annotations.add(txtLink);
             

Modified: pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/pdmodel/ReplaceURLs.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/pdmodel/ReplaceURLs.java?rev=1664881&r1=1664880&r2=1664881&view=diff
==============================================================================
--- pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/pdmodel/ReplaceURLs.java
(original)
+++ pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/pdmodel/ReplaceURLs.java
Sat Mar  7 16:08:20 2015
@@ -46,7 +46,7 @@ public class ReplaceURLs
 
     /**
      * This will read in a document and replace all of the urls with
-     * http://www.pdfbox.org.
+     * http://pdfbox.apache.org.
      * <br />
      * see usage() for commandline
      *
@@ -83,7 +83,7 @@ public class ReplaceURLs
                             {
                                 PDActionURI uri = (PDActionURI)action;
                                 String oldURI = uri.getURI();
-                                String newURI = "http://www.pdfbox.org";
+                                String newURI = "http://pdfbox.apache.org";
                                 System.out.println( "Page " + pageNum +": Replacing " + oldURI
+ " with " + newURI );
                                 uri.setURI( newURI );
                             }



Mime
View raw message