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()."); 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);
} }