File tree Expand file tree Collapse file tree
src/main/java/org/apache/commons/io/input Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -48,7 +48,8 @@ public final class ChecksumInputStream extends CountingInputStream {
4848 * Builds a new {@link ChecksumInputStream}.
4949 *
5050 * <p>
51- * There is no default {@link Checksum}; you MUST provide one.
51+ * There is no default {@link Checksum}; you MUST provide one. This avoids any issue with a default {@link Checksum} being proven deficient or insecure
52+ * in the future.
5253 * </p>
5354 * <h2>Using NIO</h2>
5455 * <pre>{@code
@@ -99,8 +100,8 @@ public final class ChecksumInputStream extends CountingInputStream {
99100 public static class Builder extends AbstractStreamBuilder <ChecksumInputStream , Builder > {
100101
101102 /**
102- * There is no default checksum , you MUST provide one. This avoids any issue with a default {@link Checksum}
103- * being proven deficient or insecure in the future.
103+ * There is no default {@link Checksum} , you MUST provide one. This avoids any issue with a default {@link Checksum} being proven deficient or insecure
104+ * in the future.
104105 */
105106 private Checksum checksum ;
106107
@@ -146,7 +147,8 @@ public ChecksumInputStream get() throws IOException {
146147 }
147148
148149 /**
149- * Sets the Checksum.
150+ * Sets the Checksum. There is no default {@link Checksum}, you MUST provide one. This avoids any issue with a default {@link Checksum} being proven
151+ * deficient or insecure in the future.
150152 *
151153 * @param checksum the Checksum.
152154 * @return {@code this} instance.
You can’t perform that action at this time.
0 commit comments