mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-17 10:17:41 +00:00
Suppressed warnings where appropriate
This commit is contained in:
parent
ea1c774d63
commit
1fa72336e4
@ -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;
|
||||
|
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user