Removed unnecessary deprecation
This commit is contained in:
parent
d611174bad
commit
71e4f1ee3f
|
@ -123,13 +123,9 @@ class AeronInput extends Input {
|
||||||
throw new UnsupportedOperationException("This input does not use a byte[], see #getInternalBuffer().");
|
throw new UnsupportedOperationException("This input does not use a byte[], see #getInternalBuffer().");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/** Sets a new buffer. The offset is 0 and the count is the buffer's length.
|
||||||
* Throws {@link UnsupportedOperationException} because this input uses a DirectBuffer, not a byte[].
|
* @see #setBuffer(byte[], int, int) */
|
||||||
* @deprecated
|
|
||||||
* @see #setBuffer(DirectBuffer, int, int)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
@Deprecated
|
|
||||||
public void setBuffer (byte[] bytes) {
|
public void setBuffer (byte[] bytes) {
|
||||||
setBuffer(bytes, 0, bytes.length);
|
setBuffer(bytes, 0, bytes.length);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user