Skip to content

Commit ec44830

Browse files
committed
Javadoc
1 parent 14c4621 commit ec44830

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

  • src/main/java/org/apache/commons/codec/digest

src/main/java/org/apache/commons/codec/digest/Blake3.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ private Blake3(final int[] key, final int flags) {
455455
* previously finalized bytes. Note that this can finalize up to 2<sup>64</sup> bytes per instance.
456456
*
457457
* @param out destination array to finalize bytes into
458-
* @return this
458+
* @return {@code this} instance.
459459
* @throws NullPointerException if out is null
460460
*/
461461
public Blake3 doFinalize(final byte[] out) {
@@ -469,7 +469,7 @@ public Blake3 doFinalize(final byte[] out) {
469469
* @param out destination array to finalize bytes into
470470
* @param offset where in the array to begin writing bytes to
471471
* @param length number of bytes to finalize
472-
* @return this
472+
* @return {@code this} instance.
473473
* @throws NullPointerException if out is null
474474
* @throws IndexOutOfBoundsException if offset or length are negative or if offset + length is greater than the
475475
* length of the provided array
@@ -498,7 +498,7 @@ public byte[] doFinalize(final int nrBytes) {
498498

499499
/**
500500
* Resets this instance back to its initial state when it was first constructed.
501-
* @return this
501+
* @return {@code this} instance.
502502
*/
503503
public Blake3 reset() {
504504
engineState.reset();
@@ -509,7 +509,7 @@ public Blake3 reset() {
509509
* Updates this hash state using the provided bytes.
510510
*
511511
* @param in source array to update data from
512-
* @return this
512+
* @return {@code this} instance.
513513
* @throws NullPointerException if in is null
514514
*/
515515
public Blake3 update(final byte[] in) {
@@ -522,7 +522,7 @@ public Blake3 update(final byte[] in) {
522522
* @param in source array to update data from
523523
* @param offset where in the array to begin reading bytes
524524
* @param length number of bytes to update
525-
* @return this
525+
* @return {@code this} instance.
526526
* @throws NullPointerException if in is null
527527
* @throws IndexOutOfBoundsException if offset or length are negative or if offset + length is greater than the
528528
* length of the provided array

0 commit comments

Comments
 (0)