Suppressed warnings where appropriate

This commit is contained in:
Jeff Wallace 2013-12-02 16:50:06 -05:00
parent ea1c774d63
commit 1fa72336e4
2 changed files with 2 additions and 0 deletions

View File

@ -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;

View File

@ -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<String, Number> createEventsByMonth(final MonthEpoch me, final YearEpoch ye) {
final CategoryAxis xAxis = new CategoryAxis();
final NumberAxis yAxis = new NumberAxis();