Skip to content

Commit 18dd9ee

Browse files
author
Brian Burkhalter
committedOct 13, 2022
8295025: (bf) ByteBuffer "Access to binary data" section suggests putFloat is void
Reviewed-by: alanb
1 parent 4224d45 commit 18dd9ee

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed
 

‎src/java.base/share/classes/java/nio/X-Buffer.java.template

+5-4
Original file line numberDiff line numberDiff line change
@@ -150,10 +150,11 @@ import jdk.internal.util.ArraysSupport;
150150
* values, for example, this class defines:
151151
*
152152
* <blockquote><pre>
153-
* float {@link #getFloat()}
154-
* float {@link #getFloat(int) getFloat(int index)}
155-
* void {@link #putFloat(float) putFloat(float f)}
156-
* void {@link #putFloat(int,float) putFloat(int index, float f)}</pre></blockquote>
153+
* float {@link #getFloat()}
154+
* float {@link #getFloat(int) getFloat(int index)}
155+
* ByteBuffer {@link #putFloat(float) putFloat(float f)}
156+
* ByteBuffer {@link #putFloat(int,float) putFloat(int index, float f)}
157+
* </pre></blockquote>
157158
*
158159
* <p> Corresponding methods are defined for the types {@code char,
159160
* short, int, long}, and {@code double}. The index

0 commit comments

Comments
 (0)
Please sign in to comment.