common/src/main/java/com/genexus/util/FastVector.java
/**
     * This implements the un synchronized semantics of ensureCapacity.
     * Synchronized methods in this class can internally call this 
     * method for ensuring capacity without incurring the cost of an 
     * extra synchronization.
     *
     * @see java.util.Vector#ensureCapacity(int)
     */
This implements the un synchronized semantics of ensureCapacity.
Synchronized methods in this class can internally call this
method for ensuring capacity without incurring the cost of an
extra synchronization.


This implements the un synchronized semantics of ensureCapacity . Synchronized methods in this class can internally call this method for ensuring capacity without incurring the cost of an extra synchronization .
private void ensureCapacityHelper(int minCapacity) 
    {
		int oldCapacity = elementData.length;
		Object oldData[] = elementData;
		int newCapacity = (capacityIncrement > 0) ?
	    	(oldCapacity + capacityIncrement) : (oldCapacity * 2);
		if (newCapacity < minCapacity) 
		{
	    	newCapacity = minCapacity;
		}
		elementData = new Object[newCapacity];
		System.arraycopy(oldData, 0, elementData, 0, elementCount);
    }
private void ensureCapacityHelper ( int minCapacity ) { int oldCapacity = elementData . length ; Object oldData [ ] = elementData ; int newCapacity = ( capacityIncrement > 0 ) ? ( oldCapacity + capacityIncrement ) : ( oldCapacity * 2 ) ; if ( newCapacity < minCapacity ) { newCapacity = minCapacity ; } elementData = new Object [ newCapacity ] ; System . arraycopy ( oldData , 0 , elementData , 0 , elementCount ) ; }
This implements the un synchronized semantics of ensureCapacity.
This implements the un synchronized semantics of ensureCapacity .