This commit is contained in:
Brian Sweeney 2018-04-23 14:33:07 -06:00
parent a7cfd25ca4
commit bb9441faf5
2 changed files with 3 additions and 3 deletions

View File

@ -24,7 +24,7 @@ import java.util.Map;
/** /**
* Provides logic for selecting common files from all data sources. * Provides logic for selecting common files from all data sources.
*/ */
final class AllDataSources extends CommonFilesMetaDataBuilder { final class AllDataSourcesCommonFilesAlgorithm extends CommonFilesMetaDataBuilder {
private static final String WHERE_CLAUSE = "%s md5 in (select md5 from tsk_files where (known != 1 OR known IS NULL)%s GROUP BY md5 HAVING COUNT(*) > 1) order by md5"; private static final String WHERE_CLAUSE = "%s md5 in (select md5 from tsk_files where (known != 1 OR known IS NULL)%s GROUP BY md5 HAVING COUNT(*) > 1) order by md5";
@ -34,7 +34,7 @@ final class AllDataSources extends CommonFilesMetaDataBuilder {
* *
* @param dataSourceIdMap a map of obj_id to datasource name * @param dataSourceIdMap a map of obj_id to datasource name
*/ */
AllDataSources(Map<Long, String> dataSourceIdMap, boolean filterByMediaMimeType, boolean filterByDocMimeType) { AllDataSourcesCommonFilesAlgorithm(Map<Long, String> dataSourceIdMap, boolean filterByMediaMimeType, boolean filterByDocMimeType) {
super(dataSourceIdMap, filterByMediaMimeType, filterByDocMimeType); super(dataSourceIdMap, filterByMediaMimeType, filterByDocMimeType);
} }

View File

@ -255,7 +255,7 @@ public final class CommonFilesPanel extends javax.swing.JPanel {
} }
} }
if (dataSourceId == CommonFilesPanel.NO_DATA_SOURCE_SELECTED) { if (dataSourceId == CommonFilesPanel.NO_DATA_SOURCE_SELECTED) {
builder = new AllDataSources(CommonFilesPanel.this.dataSourceMap, filterByMedia, filterByDocuments); builder = new AllDataSourcesCommonFilesAlgorithm(CommonFilesPanel.this.dataSourceMap, filterByMedia, filterByDocuments);
setTitleForAllDataSources(); setTitleForAllDataSources();
} else { } else {