Author: lehmi Date: Mon Oct 23 05:51:06 2023 New Revision: 1913224 URL: http://svn.apache.org/viewvc?rev=1913224&view=rev Log: PDFBOX-5664: make constructor protected
Modified: pdfbox/branches/3.0/pdfbox/src/main/java/org/apache/pdfbox/multipdf/PDFCloneUtility.java Modified: pdfbox/branches/3.0/pdfbox/src/main/java/org/apache/pdfbox/multipdf/PDFCloneUtility.java URL: http://svn.apache.org/viewvc/pdfbox/branches/3.0/pdfbox/src/main/java/org/apache/pdfbox/multipdf/PDFCloneUtility.java?rev=1913224&r1=1913223&r2=1913224&view=diff ============================================================================== --- pdfbox/branches/3.0/pdfbox/src/main/java/org/apache/pdfbox/multipdf/PDFCloneUtility.java (original) +++ pdfbox/branches/3.0/pdfbox/src/main/java/org/apache/pdfbox/multipdf/PDFCloneUtility.java Mon Oct 23 05:51:06 2023 @@ -55,7 +55,7 @@ public class PDFCloneUtility * * @param dest the destination PDF document that will receive the clones */ - PDFCloneUtility(PDDocument dest) + protected PDFCloneUtility(PDDocument dest) { this.destination = dest; } @@ -103,7 +103,7 @@ public class PDFCloneUtility return (TCOSBase) retval; } - COSBase cloneCOSBaseForNewDocument(COSBase base) throws IOException + private COSBase cloneCOSBaseForNewDocument(COSBase base) throws IOException { if (base instanceof COSObject) {