Bug 200777 [Firefox]Fail to show svg bar chart using chart deploy package.[0601][13]
Description: Fail to show svg bar chart using chart deploy package. Build number:2.2.1.v200708220927 Steps to reproduce: 1. Deploy chart-viewer-sample.war to Tomcat5.5.23. 2. Preview index.jsp Expected result: Display three charts. Actual result: Fail to display svg bar chart. see attached. Error log:n/a
chart/org.eclipse.birt.chart.viewer/src/org/eclipse/birt/chart/viewer/internal/util/ChartImageManager.java
}
	/**
	 * Disposes all resources and reset.
	 */
	public static void dispose( )
	{
		for ( int i = 0, n = sessionIds.size( ); i < n; i++ )
		{
			String sessionId = (String) sessionIds.get( i );
			clearSessionFiles( sessionId );
		}
		sessionIds.clear( );
	}
	/**
	 * Clear the temp files when session is expired
	 * 
	 * @param id
	 *            session id
	 */
	public static void clearSessionFiles( String id )
	{
		if ( id == null )
		{
			return;
		}
		
		String tempFolder = imageFolder + File.separator + id;
		File file = new File( tempFolder );
		deleteDir( file );
	}