|
@@ -684,11 +684,28 @@ public final class DistCpOptions {
|
|
|
return this;
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * whether builder with crc.
|
|
|
+ * @param newSkipCRC whether to skip crc check
|
|
|
+ * @return Builder object whether to skip crc check
|
|
|
+ * @deprecated Use {@link #withSkipCRC(boolean)} instead.
|
|
|
+ */
|
|
|
+ @Deprecated
|
|
|
public Builder withCRC(boolean newSkipCRC) {
|
|
|
this.skipCRC = newSkipCRC;
|
|
|
return this;
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * whether builder with crc.
|
|
|
+ * @param newSkipCRC whether to skip crc check
|
|
|
+ * @return Builder object whether to skip crc check
|
|
|
+ */
|
|
|
+ public Builder withSkipCRC(boolean newSkipCRC) {
|
|
|
+ this.skipCRC = newSkipCRC;
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+
|
|
|
public Builder withBlocking(boolean newBlocking) {
|
|
|
this.blocking = newBlocking;
|
|
|
return this;
|