mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-17 10:17:41 +00:00
4262: Account type and status getters should return optional.
This commit is contained in:
parent
7f0234dad6
commit
a065428f90
@ -180,7 +180,9 @@ public class OsAccountDataPanel extends JPanel {
|
||||
data.addData(Bundle.OsAccountDataPanel_basic_address(),
|
||||
account.getName() == null || account.getName().isEmpty() ? "" : account.getName());
|
||||
|
||||
data.addData(Bundle.OsAccountDataPanel_basic_type(), account.getOsAccountType().getName());
|
||||
|
||||
data.addData(Bundle.OsAccountDataPanel_basic_type(),
|
||||
account.getOsAccountType().isPresent() ? account.getOsAccountType().get().getName() : "");
|
||||
|
||||
Optional<Long> crTime = account.getCreationTime();
|
||||
if (crTime.isPresent()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user