From 1fa72336e495776c698fcbc44907729624e9f501 Mon Sep 17 00:00:00 2001 From: Jeff Wallace Date: Mon, 2 Dec 2013 16:50:06 -0500 Subject: [PATCH] Suppressed warnings where appropriate --- .../sleuthkit/autopsy/exifparser/ExifParserFileIngestModule.java | 1 + Timeline/src/org/sleuthkit/autopsy/timeline/Timeline.java | 1 + 2 files changed, 2 insertions(+) diff --git a/ExifParser/src/org/sleuthkit/autopsy/exifparser/ExifParserFileIngestModule.java b/ExifParser/src/org/sleuthkit/autopsy/exifparser/ExifParserFileIngestModule.java index a8b00ca015..56358797bb 100644 --- a/ExifParser/src/org/sleuthkit/autopsy/exifparser/ExifParserFileIngestModule.java +++ b/ExifParser/src/org/sleuthkit/autopsy/exifparser/ExifParserFileIngestModule.java @@ -208,6 +208,7 @@ public final class ExifParserFileIngestModule extends IngestModuleAbstractFile { * * @return true if jpeg file, false otherwise */ + @SuppressWarnings("unchecked") public static boolean isJpegFileHeader(AbstractFile file) { if (file.getSize() < 100) { return false; diff --git a/Timeline/src/org/sleuthkit/autopsy/timeline/Timeline.java b/Timeline/src/org/sleuthkit/autopsy/timeline/Timeline.java index 3468ab6fef..461e838516 100644 --- a/Timeline/src/org/sleuthkit/autopsy/timeline/Timeline.java +++ b/Timeline/src/org/sleuthkit/autopsy/timeline/Timeline.java @@ -474,6 +474,7 @@ public class Timeline extends CallableSystemAction implements Presenter.Toolbar, * Displays a chart with events from one month only. * Up to 31 days per month, as low as 28 as determined by the specific MonthEpoch */ + @SuppressWarnings("unchecked") private BarChart createEventsByMonth(final MonthEpoch me, final YearEpoch ye) { final CategoryAxis xAxis = new CategoryAxis(); final NumberAxis yAxis = new NumberAxis();