mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-17 10:17:41 +00:00
Update LeappFileProcessor.java
Fix merge conflict
This commit is contained in:
parent
980629494e
commit
d42603f830
@ -407,7 +407,8 @@ public final class LeappFileProcessor {
|
||||
}
|
||||
} else if (attrType.matches("LONG")) {
|
||||
try {
|
||||
bbattributes.add(new BlackboardAttribute(attributeType, MODULE_NAME, (long)Double.parseDouble(columnValue)));
|
||||
// parse as double to handle values of format like '21.0' and then convert to long
|
||||
bbattributes.add(new BlackboardAttribute(attributeType, MODULE_NAME, Double.valueOf(columnValue).longValue()));
|
||||
} catch (NumberFormatException ex) {
|
||||
logger.log(Level.WARNING, String.format("Unable to format %s as an long.", columnValue), ex);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user