@@ -69,8 +69,9 @@ private static Optional<byte[]> optionalOf(@Nullable byte[] bytes) {
6969 }
7070
7171 /**
72- * @param chunk to be added to its corresponding chunk group, possibly stitched to restore the original data bytes
73- * if this is the last chunk the group is expecting.
72+ * @param chunk
73+ * to be added to its corresponding chunk group, possibly stitched to restore the original data bytes if
74+ * this is the last chunk the group is expecting.
7475 * @return non-empty <code>Optional</code> containing the original data bytes restored by the stitcher if the input
7576 * chunk is the last missing piece of the entire chunk group representing the original data; otherwise, if
7677 * the input chunk is not the last one expected, empty <code>Optional</code>.
@@ -121,8 +122,9 @@ public ChunkStitcher build() {
121122 }
122123
123124 /**
124- * @param maxStitchTime max duration from the very first chunk received by the stitcher to the original data is
125- * restored completely
125+ * @param maxStitchTime
126+ * max duration from the very first chunk received by the stitcher to the original data is restored
127+ * completely
126128 * @return the fluent builder
127129 */
128130 public Builder maxStitchTime (Duration maxStitchTime ) {
@@ -131,8 +133,9 @@ public Builder maxStitchTime(Duration maxStitchTime) {
131133 }
132134
133135 /**
134- * @param v Optional safeguard against excessive large size of target restore data - either by mistake or
135- * malicious attack. Default to no size limit.
136+ * @param v
137+ * Optional safeguard against excessive large size of target restore data - either by mistake or
138+ * malicious attack. Default to no size limit.
136139 * @return same builder instance
137140 */
138141 public Builder maxStitchedByteSize (int v ) {
@@ -141,7 +144,8 @@ public Builder maxStitchedByteSize(int v) {
141144 }
142145
143146 /**
144- * @param maxGroups max number of pending stitch groups. These groups will take up memory at runtime.
147+ * @param maxGroups
148+ * max number of pending stitch groups. These groups will take up memory at runtime.
145149 * @return the fluent builder
146150 */
147151 public Builder maxStitchingGroups (long maxGroups ) {
@@ -181,8 +185,9 @@ private static int totalByteSizeOf(@NonNull Collection<Chunk> chunks) {
181185 }
182186
183187 /**
184- * @param chunk to be added in the stitching group, possibly stitched if this is the last chunk the group is
185- * expecting.
188+ * @param chunk
189+ * to be added in the stitching group, possibly stitched if this is the last chunk the group is
190+ * expecting.
186191 * @return the bytes by stitching together all the chunks in the group if the passed-in chunk is the last one
187192 * the group is expecting; otherwise, <code>null</code>.
188193 */
0 commit comments