mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-14 17:06:16 +00:00
Format DeleteDataSourceAction.java
This commit is contained in:
parent
acaa15c359
commit
aa6122ce8f
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user