return true;
}
};
}
if ( detectedArtifacts[1] || searchORM || mappingFilesSize > 0) {
filters[size - 1] = new FileFilter( true ) {
public boolean accept(String javaElementName) {
return ( detectedArtifacts[1] && javaElementName.endsWith( "hbm.xml" ) )
|| ( searchORM && javaElementName.endsWith( META_INF_ORM_XML ) )
|| ( mappingFilesSize > 0 && mappingFiles.contains( javaElementName ) );
}