aboutsummaryrefslogtreecommitdiff
path: root/src/share/classes/java/io/ByteArrayOutputStream.java
diff options
context:
space:
mode:
authordxu <none@none>2012-08-30 12:55:40 +0100
committerdxu <none@none>2012-08-30 12:55:40 +0100
commita429517dc903f0fc236561ec794e3e0b24763556 (patch)
tree04a9f354fa2b74c6d956ab1713ebd217ddca1f95 /src/share/classes/java/io/ByteArrayOutputStream.java
parent35b8c24f004d4d1aba753c0d80776a113093cf85 (diff)
downloadjdk8u_jdk-a429517dc903f0fc236561ec794e3e0b24763556.tar.gz
7193710: ByteArrayOutputStream Javadoc contains unclosed <code> element
Reviewed-by: dholmes, alanb, ulfzibis
Diffstat (limited to 'src/share/classes/java/io/ByteArrayOutputStream.java')
-rw-r--r--src/share/classes/java/io/ByteArrayOutputStream.java16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/share/classes/java/io/ByteArrayOutputStream.java b/src/share/classes/java/io/ByteArrayOutputStream.java
index c4df675c93..d28d397b31 100644
--- a/src/share/classes/java/io/ByteArrayOutputStream.java
+++ b/src/share/classes/java/io/ByteArrayOutputStream.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1994, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1994, 2012, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -210,21 +210,21 @@ public class ByteArrayOutputStream extends OutputStream {
/**
* Converts the buffer's contents into a string by decoding the bytes using
- * the specified {@link java.nio.charset.Charset charsetName}. The length of
- * the new <tt>String</tt> is a function of the charset, and hence may not be
- * equal to the length of the byte array.
+ * the named {@link java.nio.charset.Charset charset}. The length of the new
+ * <tt>String</tt> is a function of the charset, and hence may not be equal
+ * to the length of the byte array.
*
* <p> This method always replaces malformed-input and unmappable-character
* sequences with this charset's default replacement string. The {@link
* java.nio.charset.CharsetDecoder} class should be used when more control
* over the decoding process is required.
*
- * @param charsetName the name of a supported
- * {@linkplain java.nio.charset.Charset </code>charset<code>}
- * @return String decoded from the buffer's contents.
+ * @param charsetName the name of a supported
+ * {@link java.nio.charset.Charset charset}
+ * @return String decoded from the buffer's contents.
* @exception UnsupportedEncodingException
* If the named charset is not supported
- * @since JDK1.1
+ * @since JDK1.1
*/
public synchronized String toString(String charsetName)
throws UnsupportedEncodingException