mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-06 21:00:22 +00:00
Empty and Null
Check if password is empty and set to null
This commit is contained in:
parent
8079f2ca69
commit
fb79eb37ba
@ -317,6 +317,9 @@ public class ImageDSProcessor implements DataSourceProcessor, AutoIngestDataSour
|
||||
sha256 = null;
|
||||
}
|
||||
bitlockerPassword = configPanel.getBitlockerPassword();
|
||||
if (bitlockerPassword.isEmpty()) {
|
||||
bitlockerPassword = null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -457,7 +457,7 @@ public class ImageFilePanel extends JPanel implements DocumentListener {
|
||||
}
|
||||
|
||||
String getBitlockerPassword() {
|
||||
return this.getBitlockerPasswordTextField.getText();
|
||||
return this.bitlockerPasswordTextField.getText();
|
||||
}
|
||||
|
||||
public void reset() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user