mirror of
https://github.com/elisspace/autopsy.git
synced 2026-09-23 02:57:40 +00:00
3848 eliminate possible null pointer netbeans warning
This commit is contained in:
+1
-1
@@ -104,7 +104,7 @@ public class ExtractDocumentWithPasswordAction extends AbstractAction {
|
||||
//loop until they enter a correct password, no password, or there is a non-password related error
|
||||
try {
|
||||
String title;
|
||||
if (password.isEmpty()) {
|
||||
if (password != null && password.isEmpty()) {
|
||||
title = Bundle.ExtractDocumentWithPasswordAction_prompt_title();
|
||||
} else {
|
||||
title = Bundle.ExtractDocumentWithPasswordAction_prompt_retryTitle();
|
||||
|
||||
Reference in New Issue
Block a user