From a796e9f7c2d9cf82192c2fdd14251aed4e079909 Mon Sep 17 00:00:00 2001 From: adam-m Date: Thu, 14 Feb 2013 14:43:04 -0500 Subject: [PATCH] fix compile warn --- Timeline/src/org/sleuthkit/autopsy/timeline/Simile2.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Timeline/src/org/sleuthkit/autopsy/timeline/Simile2.java b/Timeline/src/org/sleuthkit/autopsy/timeline/Simile2.java index e585920b26..aed5c37d47 100644 --- a/Timeline/src/org/sleuthkit/autopsy/timeline/Simile2.java +++ b/Timeline/src/org/sleuthkit/autopsy/timeline/Simile2.java @@ -819,7 +819,9 @@ public class Simile2 extends CallableSystemAction implements Presenter.Toolbar, logger.log(Level.SEVERE, "Could not find a file with ID " + ObjId, ex); continue; } - ye.add(file, month, day); + if (ye != null) { + ye.add(file, month, day); + } } scan.close();