Bug 200802 Warning in log when preview a correct report in xls.[1203]
Description: Warning in log when preview a correct report in xls. Build number:2.2.1.v200708220927 Steps to reproduce: 1. Preview attached report in xls. 2. See report engine log file. Expected result: No errors and warnings. Actual result: Aug 22, 2007 7:15:56 PM org.eclipse.birt.report.engine.emitter.excel.DataCache getData WARNING: Row is not correct Error log:n/a
engine/org.eclipse.birt.report.engine.emitter.prototype.excel/src/org/eclipse/birt/report/engine/emitter/excel/DataCache.java
}
	public int getColumnSize( int column )
	{
		return ( (Integer) colrow.get( new Integer( column ) ) ).intValue( )
				+ ( (List) columns.get( column ) ).size( );
	}
	public int getRowCount( )
	{
		int max = 0;
		for ( int i = 0; i < columns.size( ); i++ )
		{
			int size = getColumnSize( i );
			max = max >= size ? max : size;
		}
		return max;
	}
	public Object[] getRowData( int row )
	{
		List data = new ArrayList( );
		for(int i = 0 ; i < columns.size( ); i++)
		{
			Object value = getData(i, row);
			
			if(value != null)
			{
				data.add( value );
			}	
		}	
		return data.toArray( new Object[0] );
	}