Fix bug in URLConnection and correct javadoc annotations in StringBuffer.
From-SVN: r38781
This commit is contained in:
parent
3799607a1a
commit
bc6d273e64
3 changed files with 9 additions and 4 deletions
|
@ -299,7 +299,7 @@ public final class StringBuffer implements Serializable
|
|||
* @exception NullPointerException if dst is null.
|
||||
* @exception IndexOutOfBoundsException if any source or target
|
||||
* indices are out of range.
|
||||
* @see java.lang.System#arrayCopy(java.lang.Object,int,java.lang.Object,int,int)
|
||||
* @see java.lang.System#arraycopy(java.lang.Object,int,java.lang.Object,int,int)
|
||||
*/
|
||||
public synchronized void getChars (int srcOffset, int srcEnd,
|
||||
char[] dst, int dstOffset)
|
||||
|
@ -494,7 +494,7 @@ public final class StringBuffer implements Serializable
|
|||
* <em>capacity</em> of the <code>StringBuffer</code>.
|
||||
* @return the length of this <code>StringBuffer</code>.
|
||||
* @see #capacity()
|
||||
* @see #setLength()
|
||||
* @see #setLength(int)
|
||||
*/
|
||||
public int length ()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue