Bug 176798 Errors occur in JUnit test of org.eclipse.birt.data in daily build 20070309
Errors occur in JUnit test of org.eclipse.birt.data in daily build 20070309. Please see the attachment for details
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/cache/CacheUtil.java
{
				throw new IllegalArgumentException( "the value of memcachesize should be at least 10" );
			}
		}
		return memoryCacheSize;
	}
	
	/**
	 * @param sortSpec
	 * @return Comparator based on specified sortSpec, null indicates there is
	 *         no need to do sorting
	 */
	static Comparator getComparator( SortSpec sortSpec,
			final IEventHandler eventHandler )
	{
		if ( sortSpec == null )
			return null;
		final int[] sortKeyIndexes = sortSpec.sortKeyIndexes;
		final String[] sortKeyColumns = sortSpec.sortKeyColumns;
		
		if ( sortKeyIndexes == null || sortKeyIndexes.length == 0 )
			return null;
		final boolean[] sortAscending = sortSpec.sortAscending;
		Comparator comparator = new Comparator( ) {
			/**
			 * compares two row indexes, actually compares two rows pointed by
			 * the two row indexes
			 */
			public int compare( Object obj1, Object obj2 )
			{