Format DeleteDataSourceAction.java

This commit is contained in:
Richard Cordovano 2019-10-28 10:20:22 -04:00
parent acaa15c359
commit aa6122ce8f

View File

@ -34,6 +34,7 @@ import org.sleuthkit.datamodel.TskCoreException;
* Instances of this Action allow users to delete the specified data source.
*/
public final class DeleteDataSourceAction extends AbstractAction {
private static final Logger logger = Logger.getLogger(DeleteDataSourceAction.class.getName());
private final Long dataSourceId;
@ -52,6 +53,7 @@ public final class DeleteDataSourceAction extends AbstractAction {
logger.log(Level.WARNING, "Error Deleting Data source " + dataSourceId, e);
}
}
private static void deleteDataSource(Long dataSourceId) throws KeywordSearchServiceException {
try {
KeywordSearchService kwsService = Lookup.getDefault().lookup(KeywordSearchService.class);