Integrated: 8314746: Remove unused private put* methods from DirectByteBufferR
Andrey Turbanov
aturbanov at openjdk.org
Wed Aug 23 17:39:30 UTC 2023
On Mon, 21 Aug 2023 16:45:40 GMT, Andrey Turbanov <aturbanov at openjdk.org> wrote:
> 1. private ByteBuffer putChar(long a, char x)
> 2. private ByteBuffer putShort(long a, short x)
> 3. private ByteBuffer putInt(long a, int x)
> 4. private ByteBuffer putLong(long a, long x)
> 5. private ByteBuffer putFloat(long a, float x)
> 6. private ByteBuffer putDouble(long a, double x)
>
> This methods are only called from this fragment and calls are guarded by `#if[rw]`
> https://github.com/openjdk/jdk/blob/17a19dc06062331c954fa519a4f668664b1533c9/src/java.base/share/classes/java/nio/Direct-X-Buffer-bin.java.template#L61-L82
This pull request has now been integrated.
Changeset: fae3b02a
Author: Andrey Turbanov <aturbanov at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/fae3b02aeb6fbb34b4b3d2e669761cf7f9af3613
Stats: 7 lines in 1 file changed: 2 ins; 4 del; 1 mod
8314746: Remove unused private put* methods from DirectByteBufferR
Reviewed-by: alanb, bpb
-------------
PR: https://git.openjdk.org/jdk/pull/15365
More information about the nio-dev
mailing list