Bug 152298 org.eclipse.birt.report.data.oda.jdbc , org.eclipse.birt.report.data.oda.xml & org.eclipse.birt.report.data.adapter unit test failed in daily build 20060731
org.eclipse.birt.report.data.oda.jdbc , org.eclipse.birt.report.data.oda.xml & org.eclipse.birt.report.data.adapter unit test failed in daily build 20060731. Please see the attachment for details.
core/org.eclipse.birt.core/src/org/eclipse/birt/core/data/DataTypeUtil.java
}
	/**
	 * 
	 * @param dateStyle
	 * @param locale
	 * @return
	 */
	public static DateFormat getDateInstance( int dateStyle, ULocale locale )
	{
		String key = String.valueOf( dateStyle ) + ":" + locale.getName( );
		
		DateFormat result = (DateFormat) dateFormatHolder.get( key );
		
			
		if ( result == null )
		{
			synchronized ( dateTimeFormatholder )
			{
				result = (DateFormat)dateFormatHolder.get( key );
				if ( result == null )
				{
					result = DateFormat.getDateInstance( dateStyle, locale );
					dateFormatHolder.put( key, result );
				}
			}
		}
		return result;
	}
}