mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-19 19:14:55 +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
|
* @return true if jpeg file, false otherwise
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("unchecked")
|
||||||
public static boolean isJpegFileHeader(AbstractFile file) {
|
public static boolean isJpegFileHeader(AbstractFile file) {
|
||||||
if (file.getSize() < 100) {
|
if (file.getSize() < 100) {
|
||||||
return false;
|
return false;
|
||||||
|
@ -474,6 +474,7 @@ public class Timeline extends CallableSystemAction implements Presenter.Toolbar,
|
|||||||
* Displays a chart with events from one month only.
|
* 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
|
* 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) {
|
private BarChart<String, Number> createEventsByMonth(final MonthEpoch me, final YearEpoch ye) {
|
||||||
final CategoryAxis xAxis = new CategoryAxis();
|
final CategoryAxis xAxis = new CategoryAxis();
|
||||||
final NumberAxis yAxis = new NumberAxis();
|
final NumberAxis yAxis = new NumberAxis();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user