This commit is contained in:
jmillman 2015-06-02 13:48:58 -04:00
parent 5b6251b9f7
commit e7a9aa7a12
2 changed files with 7 additions and 8 deletions

View File

@ -676,7 +676,7 @@ public final class ImageGalleryController {
* 'analyzed'. Grabs all files with supported image/video mime types, and * 'analyzed'. Grabs all files with supported image/video mime types, and
* adds them to the Drawable DB * adds them to the Drawable DB
*/ */
class CopyAnalyzedFiles extends InnerTask { private class CopyAnalyzedFiles extends InnerTask {
final private String DRAWABLE_QUERY = "name LIKE '%." + StringUtils.join(ImageGalleryModule.getAllSupportedExtensions(), "' or name LIKE '%.") + "'"; final private String DRAWABLE_QUERY = "name LIKE '%." + StringUtils.join(ImageGalleryModule.getAllSupportedExtensions(), "' or name LIKE '%.") + "'";

View File

@ -40,16 +40,15 @@ import org.sleuthkit.datamodel.TagName;
import org.sleuthkit.datamodel.TskCoreException; import org.sleuthkit.datamodel.TskCoreException;
/** /**
* An abstract base class for Actions that allow users to tag SleuthKit data * An abstract base class for actions that allow users to tag SleuthKit data
* model objects. * model objects.
*
* //TODO: this class started as a cut and paste from
* org.sleuthkit.autopsy.actions.AddTagAction and needs to be
* refactor or reintegrated to the AddTagAction hierarchy of Autopysy.
*/ */
abstract class AddTagAction { abstract class AddTagAction {
/**
* Derived classes should call this method any time a tag is created,
* updated
* or deleted outside of an actionPerformed() call.
*/
@SuppressWarnings("deprecation") @SuppressWarnings("deprecation")
protected void refreshDirectoryTree() { protected void refreshDirectoryTree() {
@ -63,7 +62,7 @@ abstract class AddTagAction {
protected static final String NO_COMMENT = ""; protected static final String NO_COMMENT = "";
/** /**
* Template method to allow derived classes to provide a string for for a * Template method to allow derived classes to provide a string for a
* menu item label. * menu item label.
*/ */
abstract protected String getActionDisplayName(); abstract protected String getActionDisplayName();