Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8314746

Remove unused private put* methods from DirectByteBufferR

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P5 P5
    • 22
    • None
    • core-libs
    • b12

      There are 6 private methods in java.nio.DirectByteBufferR class which are unused:

          private ByteBuffer putChar(long a, char x)
          private ByteBuffer putShort(long a, short x)
          private ByteBuffer putInt(long a, int x)
          private ByteBuffer putLong(long a, long x)
          private ByteBuffer putFloat(long a, float x)
          private ByteBuffer putDouble(long a, double x)

      This methods are only called from fragments where calls are guarded by #if[rw] condition.

            aturbanov Andrey Turbanov
            aturbanov Andrey Turbanov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: