fixed compilation warning
This commit is contained in:
parent
7814b844a1
commit
b5b9465dbe
|
@ -62,7 +62,7 @@ public class PasswordCreaterUI {
|
|||
JLabel hash = new JLabel("Hash:", SwingConstants.RIGHT);
|
||||
|
||||
String[] digests = new String[] { "MD2", "MD5", "SHA-1", "SHA-256", "SHA-384", "SHA-512" };
|
||||
final JComboBox digestCombo = new JComboBox(digests);
|
||||
final JComboBox<String> digestCombo = new JComboBox<String>(digests);
|
||||
digestCombo.setSelectedIndex(3);
|
||||
final JPasswordField passwordField = new JPasswordField();
|
||||
final JTextField hashField = new JTextField(150);
|
||||
|
|
Loading…
Reference in New Issue