Skip to content

Commit e9e4a31

Browse files
committed
Update constructors from package-private to private
1 parent 83f63d8 commit e9e4a31

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/apache/commons/io/input/BoundedInputStream.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ public static Builder builder() {
312312
*/
313313
private boolean propagateClose = true;
314314

315-
BoundedInputStream(final Builder builder) throws IOException {
315+
private BoundedInputStream(final Builder builder) throws IOException {
316316
super(builder);
317317
this.count = builder.getCount();
318318
this.maxCount = builder.getMaxCount();
@@ -334,7 +334,7 @@ public BoundedInputStream(final InputStream in) {
334334
this(in, EOF);
335335
}
336336

337-
BoundedInputStream(final InputStream inputStream, final Builder builder) {
337+
private BoundedInputStream(final InputStream inputStream, final Builder builder) {
338338
super(inputStream, builder);
339339
this.count = builder.getCount();
340340
this.maxCount = builder.getMaxCount();

0 commit comments

Comments
 (0)