Removed unnecessary deprecation

This commit is contained in:
nathan 2020-08-18 23:54:17 +02:00
parent d611174bad
commit 71e4f1ee3f

View File

@ -123,13 +123,9 @@ class AeronInput extends Input {
throw new UnsupportedOperationException("This input does not use a byte[], see #getInternalBuffer().");
}
/**
* Throws {@link UnsupportedOperationException} because this input uses a DirectBuffer, not a byte[].
* @deprecated
* @see #setBuffer(DirectBuffer, int, int)
*/
/** Sets a new buffer. The offset is 0 and the count is the buffer's length.
* @see #setBuffer(byte[], int, int) */
@Override
@Deprecated
public void setBuffer (byte[] bytes) {
setBuffer(bytes, 0, bytes.length);
}