< prev index next >
src/java.base/share/classes/java/nio/Buffer.java
Print this page
@@ -213,11 +213,11 @@
* Returns an {@code IllegalArgumentException} indicating that the source
* and target are the same {@code Buffer}. Intended for use in
* {@code put(src)} when the parameter is the {@code Buffer} on which the
* method is being invoked.
*
- * @returns IllegalArgumentException
+ * @return IllegalArgumentException
* With a message indicating equal source and target buffers
*/
static IllegalArgumentException createSameBufferException() {
return new IllegalArgumentException("The source buffer is this buffer");
}
< prev index next >