Skip to content

Commit 62efa2c

Browse files
committed
Remove redundant lines
1 parent cc11f01 commit 62efa2c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/main/java/at/favre/lib/bytes/MutableBytes.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ public boolean isMutable() {
7171
* @return this instance
7272
* @throws IndexOutOfBoundsException if newArray.length > internal length
7373
*/
74-
7574
public MutableBytes overwrite(byte[] newArray) {
7675
return overwrite(newArray, 0);
7776
}
@@ -83,7 +82,6 @@ public MutableBytes overwrite(byte[] newArray) {
8382
* @return this instance
8483
* @throws IndexOutOfBoundsException if newArray.length > internal length
8584
*/
86-
8785
public MutableBytes overwrite(Bytes newBytes) {
8886
return overwrite(newBytes, 0);
8987
}
@@ -96,7 +94,6 @@ public MutableBytes overwrite(Bytes newBytes) {
9694
* @return this instance
9795
* @throws IndexOutOfBoundsException if newArray.length + offsetInternalArray > internal length
9896
*/
99-
10097
public MutableBytes overwrite(byte[] newArray, int offsetInternalArray) {
10198
Objects.requireNonNull(newArray, "must provide non-null array as source");
10299
System.arraycopy(newArray, 0, internalArray(), offsetInternalArray, newArray.length);
@@ -111,7 +108,6 @@ public MutableBytes overwrite(byte[] newArray, int offsetInternalArray) {
111108
* @return this instance
112109
* @throws IndexOutOfBoundsException if newBytes.length + offsetInternalArray > internal length
113110
*/
114-
115111
public MutableBytes overwrite(Bytes newBytes, int offsetInternalArray) {
116112
return overwrite(Objects.requireNonNull(newBytes, "must provide non-null array as source").array(), offsetInternalArray);
117113
}

0 commit comments

Comments
 (0)