2
0

Update SpotBugs.

This commit is contained in:
Maarten Billemont
2021-02-08 14:20:29 -05:00
parent a1264e0f91
commit 963a1222be
5 changed files with 6 additions and 5 deletions

View File

@@ -459,7 +459,8 @@ public class UserContentPanel extends JPanel implements State.Listener, MPUser.L
char[] masterPassword = masterPasswordField.getPassword();
MPIdenticon identicon = ((masterPassword != null) && (masterPassword.length > 0))?
user.getAlgorithm().identicon( user.getFullName(), masterPassword ): null;
Arrays.fill( masterPassword, (char) 0 );
if (masterPassword != null)
Arrays.fill( masterPassword, (char) 0 );
Res.ui( () -> {
if (identicon != null) {