Skip to content

Commit 41baf1b

Browse files
ic0nsTLS-Attacker Developer
andauthored
fix: Update javadoc comments to reference DataConverter instead of deprecated ArrayConverter (#249)
- Updated javadoc comments in ByteArrayAppendValueModification - Updated javadoc comments in ByteArrayDuplicateModification - Updated javadoc comments in ByteArrayInsertValueModification - Updated javadoc comments in ByteArrayPrependValueModification All actual code references to ArrayConverter have already been migrated to DataConverter. This commit only updates the documentation to reflect the current implementation. Co-authored-by: TLS-Attacker Developer <[email protected]>
1 parent 7e65ff3 commit 41baf1b

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

src/main/java/de/rub/nds/modifiablevariable/bytearray/ByteArrayAppendValueModification.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ public ByteArrayAppendValueModification createCopy() {
8282
* Modifies the input by appending bytes to the end of the array.
8383
*
8484
* <p>This method concatenates the bytes to append to the end of the input byte array using the
85-
* ArrayConverter's concatenate method. A new byte array is created with the original input
86-
* bytes followed by the bytes to append.
85+
* DataConverter's concatenate method. A new byte array is created with the original input bytes
86+
* followed by the bytes to append.
8787
*
8888
* <p>Note that this operation creates a new array that is longer than the original input by the
8989
* length of the bytes to append. The original input remains unchanged.

src/main/java/de/rub/nds/modifiablevariable/bytearray/ByteArrayDuplicateModification.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public ByteArrayDuplicateModification createCopy() {
5959
* copy of itself, effectively doubling the length of the array. The operation preserves the
6060
* original array's contents and ordering, simply repeating it.
6161
*
62-
* <p>The implementation uses the ArrayConverter's concatenate method for efficient array
62+
* <p>The implementation uses the DataConverter's concatenate method for efficient array
6363
* manipulation and guarantees that the original array is not modified, maintaining
6464
* immutability.
6565
*

src/main/java/de/rub/nds/modifiablevariable/bytearray/ByteArrayInsertValueModification.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public ByteArrayInsertValueModification createCopy() {
9797
* <li>If the position exceeds the array length, it's adjusted using modulo arithmetic
9898
* </ul>
9999
*
100-
* <p>The implementation uses ArrayConverter for efficient concatenation operations, ensuring
100+
* <p>The implementation uses DataConverter for efficient concatenation operations, ensuring
101101
* optimal performance even with large arrays.
102102
*
103103
* @param input The original byte array

src/main/java/de/rub/nds/modifiablevariable/bytearray/ByteArrayPrependValueModification.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public ByteArrayPrependValueModification createCopy() {
8383
* Modifies the input by prepending bytes to the beginning of the array.
8484
*
8585
* <p>This method concatenates the bytes to prepend with the input byte array using the
86-
* ArrayConverter's concatenate method. A new byte array is created with the bytes to prepend at
86+
* DataConverter's concatenate method. A new byte array is created with the bytes to prepend at
8787
* the beginning followed by the original input bytes.
8888
*
8989
* <p>Note that this operation creates a new array that is longer than the original input by the

0 commit comments

Comments
 (0)