[cvs] / jsr166 / src / main / java / util / Vector.java Repository:
ViewVC logotype

Diff of /jsr166/src/main/java/util/Vector.java

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

revision 1.44, Sat Dec 24 19:32:07 2016 UTC revision 1.45, Wed Feb 1 20:13:47 2017 UTC
# Line 307  Line 307 
307          if (newSize > elementData.length)          if (newSize > elementData.length)
308              grow(newSize);              grow(newSize);
309          final Object[] es = elementData;          final Object[] es = elementData;
310          for (int to = elementCount, i = elementCount = newSize; i < to; i++)          for (int to = elementCount, i = newSize; i < to; i++)
311              es[i] = null;              es[i] = null;
312            elementCount = newSize;
313      }      }
314    
315      /**      /**

Legend:
Removed from v.1.44  
changed lines
  Added in v.1.45

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8