Bug 124839 Used deprecated function
The XML file ODA uses a deprecated function: public void close( ) { if( this.spThread != null ) this.spThread.stop(); } The function stop() of thread is deprecated.
data/org.eclipse.birt.report.data.oda.xml/src/org/eclipse/birt/report/data/oda/xml/util/ui/SchemaPopulationUtil.java
/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.birt.report.data.oda.xml.util.ISaxParserConsumer#detectNewRow(java.lang.String)
	 */
	public void detectNewRow( String path )
	{
		
		if ( !isAttribute( path ) )
		{
			rowCount++;
		}
		
		if ( rowCount > 10000 )
		{
			assert sp != null;
			sp.setStart( false );
			spThread.stop( );
		}
	}
	/**
	 * Exam whether given path specified an attribute
	 * 
	 * @param path
	 * @return
	 */
	private boolean isAttribute( String path )
	{
		return path.matches( ".*\\Q[@\\E.+\\Q]\\E.*" );
	}