pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1838895 - /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/multipdf/PDFCloneUtility.java
Date Fri, 24 Aug 2018 16:27:41 GMT
Author: tilman
Date: Fri Aug 24 16:27:41 2018
New Revision: 1838895

URL: http://svn.apache.org/viewvc?rev=1838895&view=rev
Log:
PDFBOX-3280: remove public modifier of method of non public class

Modified:
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/multipdf/PDFCloneUtility.java

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/multipdf/PDFCloneUtility.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/multipdf/PDFCloneUtility.java?rev=1838895&r1=1838894&r2=1838895&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/multipdf/PDFCloneUtility.java (original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/multipdf/PDFCloneUtility.java Fri
Aug 24 16:27:41 2018
@@ -33,7 +33,8 @@ import org.apache.pdfbox.pdmodel.PDDocum
 import org.apache.pdfbox.pdmodel.common.COSObjectable;
 
 /**
- * Utility class used to clone PDF objects. It keeps track of objects it has already cloned.
+ * Utility class used to clone PDF objects. It keeps track of objects it has
+ * already cloned.
  *
  */
 class PDFCloneUtility
@@ -45,7 +46,7 @@ class PDFCloneUtility
      * Creates a new instance for the given target document.
      * @param dest the destination PDF document that will receive the clones
      */
-    public PDFCloneUtility(PDDocument dest)
+    PDFCloneUtility(PDDocument dest)
     {
         this.destination = dest;
     }
@@ -54,7 +55,7 @@ class PDFCloneUtility
      * Returns the destination PDF document this cloner instance is set up for.
      * @return the destination PDF document
      */
-    public PDDocument getDestination()
+    PDDocument getDestination()
     {
         return this.destination;
     }
@@ -66,7 +67,7 @@ class PDFCloneUtility
      * @return the cloned instance of the base object
      * @throws IOException if an I/O error occurs
      */
-      public COSBase cloneForNewDocument( Object base ) throws IOException
+      COSBase cloneForNewDocument( Object base ) throws IOException
       {
           if( base == null )
           {
@@ -145,7 +146,6 @@ class PDFCloneUtility
           return retval;
       }
 
-
       /**
        * Merges two objects of the same type by deep-cloning its members.
        * <br>
@@ -154,7 +154,7 @@ class PDFCloneUtility
        * @param target the merge target
        * @throws IOException if an I/O error occurs
        */
-      public void cloneMerge( final COSObjectable base, COSObjectable target) throws IOException
+      void cloneMerge( final COSObjectable base, COSObjectable target) throws IOException
       {
           if( base == null )
           {
@@ -232,5 +232,4 @@ class PDFCloneUtility
           }
           clonedVersion.put( base, retval );
       }
-
 }



Mime
View raw message