Skip to content

Commit 55b6211

Browse files
committed
Remove unused new method
1 parent 53507ac commit 55b6211

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

src/main/java/org/apache/commons/io/build/AbstractOriginSupplier.java

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -45,19 +45,6 @@
4545
*/
4646
public abstract class AbstractOriginSupplier<T, B extends AbstractOriginSupplier<T, B>> extends AbstractSupplier<T, B> {
4747

48-
/**
49-
* Throws {@link IllegalArgumentException} if the initialBufferSize is less than zero.
50-
*
51-
* @param initialBufferSize the value to test.
52-
* @return the input value.
53-
*/
54-
protected static int checkBufferSize(final int initialBufferSize) {
55-
if (initialBufferSize < 0) {
56-
throw new IllegalArgumentException("Initial buffer size must be at least 0.");
57-
}
58-
return initialBufferSize;
59-
}
60-
6148
/**
6249
* Creates a new byte array origin for a byte array.
6350
*

0 commit comments

Comments
 (0)