/[classpath]/classpath/java/util/Vector.java
ViewVC logotype

Diff of /classpath/java/util/Vector.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.20.2.1 by tromey, Thu Aug 5 21:09:36 2004 UTC revision 1.20.2.2 by tromey, Sun Aug 8 06:38:26 2004 UTC
# Line 566  public class Vector<T> extends AbstractL Line 566  public class Vector<T> extends AbstractL
566     * @throws NullPointerException if <code>a</code> is null     * @throws NullPointerException if <code>a</code> is null
567     * @since 1.2     * @since 1.2
568     */     */
569    <S> public synchronized S[] toArray(S[] a)    public synchronized <S> S[] toArray(S[] a)
570    {    {
571      if (a.length < elementCount)      if (a.length < elementCount)
572        a = (S[]) Array.newInstance(a.getClass().getComponentType(),        a = (S[]) Array.newInstance(a.getClass().getComponentType(),

Legend:
Removed from v.1.20.2.1  
changed lines
  Added in v.1.20.2.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26