-
Bug
-
Resolution: Cannot Reproduce
-
P5
-
5.0
-
x86
-
linux
A DESCRIPTION OF THE PROBLEM :
The last parenthese should not be there.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
If the collection fits in the specified array with room to spare (i.e., the array has more elements than the collection), the element in the array immediately following the end of the collection is set to null. This is useful in determining the length of the collection only if the caller knows that the collection does not contain any null elements.
ACTUAL -
If the collection fits in the specified array with room to spare (i.e., the array has more elements than the collection), the element in the array immediately following the end of the collection is set to null. This is useful in determining the length of the collection only if the caller knows that the collection does not contain any null elements.)
URL OF FAULTY DOCUMENTATION :
http://java.sun.com/j2se/1.5.0/docs/api/java/util/AbstractCollection.html#toArray()
The last parenthese should not be there.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
If the collection fits in the specified array with room to spare (i.e., the array has more elements than the collection), the element in the array immediately following the end of the collection is set to null. This is useful in determining the length of the collection only if the caller knows that the collection does not contain any null elements.
ACTUAL -
If the collection fits in the specified array with room to spare (i.e., the array has more elements than the collection), the element in the array immediately following the end of the collection is set to null. This is useful in determining the length of the collection only if the caller knows that the collection does not contain any null elements.)
URL OF FAULTY DOCUMENTATION :
http://java.sun.com/j2se/1.5.0/docs/api/java/util/AbstractCollection.html#toArray()