Skip to content

Commit 8b489fd

Browse files
committed
PDFBOX-5660: remove public constructor from non public class
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1924353 13f79535-47bb-0310-9956-ffa450edef68
1 parent d63938d commit 8b489fd

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

pdfbox/src/main/java/org/apache/pdfbox/filter/CCITTFaxDecoderStream.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ final class CCITTFaxDecoderStream extends FilterInputStream {
8686
* @param options CCITT T.4 or T.6 options.
8787
* @param byteAligned enable byte alignment used in PDF files (EncodedByteAlign).
8888
*/
89-
public CCITTFaxDecoderStream(final InputStream stream, final int columns, final int type,
89+
CCITTFaxDecoderStream(final InputStream stream, final int columns, final int type,
9090
final long options, final boolean byteAligned) {
9191
super(stream);
9292

pdfbox/src/main/java/org/apache/pdfbox/multipdf/Splitter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ private class KCloner
346346
{
347347
PDPageTree dstPageTree;
348348

349-
public KCloner(PDPageTree dstPageTree)
349+
KCloner(PDPageTree dstPageTree)
350350
{
351351
this.dstPageTree = dstPageTree;
352352
}

pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDFontFactory.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ private static class FontType
7070
private final COSName type;
7171
private final COSName subtype;
7272

73-
public FontType(COSName type, String subtypeString)
73+
FontType(COSName type, String subtypeString)
7474
{
7575
this.type = type;
7676
if (cidType0Types.contains(subtypeString))
@@ -87,13 +87,13 @@ else if (cidType2Types.contains(subtypeString))
8787
}
8888
}
8989

90-
public FontType(COSName type, COSName subtype)
90+
FontType(COSName type, COSName subtype)
9191
{
9292
this.type = type;
9393
this.subtype = subtype;
9494
}
9595

96-
public FontType(COSName type)
96+
FontType(COSName type)
9797
{
9898
this(type, (COSName) null);
9999
}

pdfbox/src/test/java/org/apache/pdfbox/multipdf/OverlayTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ class OverlayTest
5050
private static final File IN_DIR = new File("src/test/resources/org/apache/pdfbox/multipdf");
5151
private static final File OUT_DIR = new File("target/test-output/overlay");
5252

53-
public OverlayTest()
53+
OverlayTest()
5454
{
5555
}
5656

pdfbox/src/test/java/org/apache/pdfbox/pdfwriter/COSDocumentCompressionTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class COSDocumentCompressionTest
5555
static final File inDir = new File("src/test/resources/input/compression/");
5656
static final File outDir = new File("target/test-output/compression/");
5757

58-
public COSDocumentCompressionTest()
58+
COSDocumentCompressionTest()
5959
{
6060
outDir.mkdirs();
6161
}

pdfbox/src/test/java/org/apache/pdfbox/pdfwriter/ContentStreamWriterTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class ContentStreamWriterTest
5151
private final File testDirIn = new File("target/test-output/contentstream/in");
5252
private final File testDirOut = new File("target/test-output/contentstream/out");
5353

54-
public ContentStreamWriterTest()
54+
ContentStreamWriterTest()
5555
{
5656
testDirIn.mkdirs();
5757
testDirOut.mkdirs();

0 commit comments

Comments
 (0)