Bug 172606 Error icon in Library Explorer for multi-extends item.[01]
Description: Error icon in Library Explorer for multi-extends item. Build number:2.1.2.v20070202 Steps to reproduce: 1. New a.rptlibrary and b.rptlibrary. 2. New a table in a.rptlibray. 3. Open b.rptlibray and extends table item in a.rptlibray. 4. Open Library Explore, check table item inside b.rptlibrary. Expected result: Normal item icon before table item. Actual result: Error icon indicate the item exists errors. see attached.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/resourcelocator/PathResourceEntry.java
}
	public PathResourceEntry( final String[] filePattern )
	{
		this( filePattern, true );
	}
	public PathResourceEntry( final String[] filePattern,
			final boolean showFiles )
	{
		if ( filePattern != null )
		{
			filter = new FileFilter( ) {
				public boolean accept( File pathname )
				{
					if ( pathname.isDirectory( ) )
						return true;
					for ( int i = 0; i < filePattern.length; i++ )
					{
						String[] regs = filePattern[i].split( ";" ); 
						for ( int j = 0; j < regs.length; j++ )
						{
							if ( pathname.getName( )
									.toLowerCase( )
									.endsWith( regs[j].toLowerCase( )
											.substring( 1 ) ) )
								return true;
						}
					}
					return false;
				}
			};