mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-12 07:56:16 +00:00
Fixed missing label value
This commit is contained in:
parent
366c03fccd
commit
f126cbba8f
@ -71,7 +71,7 @@ final class LastKnownWaypoint extends Waypoint {
|
||||
"LastKnownWaypoint_Label=Last Known Location",})
|
||||
private static String getLabelFromArtifact(Map<BlackboardAttribute.ATTRIBUTE_TYPE, BlackboardAttribute> attributeMap) throws GeoLocationDataException {
|
||||
BlackboardAttribute attribute = attributeMap.get(BlackboardAttribute.ATTRIBUTE_TYPE.TSK_NAME);
|
||||
String label = attribute.getDisplayString();
|
||||
String label = attribute != null ? attribute.getDisplayString() : Bundle.LastKnownWaypoint_Label();
|
||||
|
||||
if (label == null || label.isEmpty()) {
|
||||
label = Bundle.LastKnownWaypoint_Label();
|
||||
|
Loading…
x
Reference in New Issue
Block a user