1
0
mirror of https://github.com/moparisthebest/davmail synced 2024-12-14 11:42:23 -05:00

Fix from audit

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@947 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2010-02-16 21:08:37 +00:00
parent 57f7fc2029
commit b48ed50ddc

View File

@ -309,7 +309,7 @@ public class SettingsFrame extends JFrame {
clientKeystoreTypeCombo.addItemListener(new ItemListener() { clientKeystoreTypeCombo.addItemListener(new ItemListener() {
public void itemStateChanged(ItemEvent event) { public void itemStateChanged(ItemEvent event) {
CardLayout cardLayout = (CardLayout) (cardPanel.getLayout()); CardLayout cardLayout = (CardLayout) (cardPanel.getLayout());
if ("PKCS11".equals((String) event.getItem())) { if ("PKCS11".equals(event.getItem())) {
cardLayout.show(cardPanel, "PKCS11"); cardLayout.show(cardPanel, "PKCS11");
} else { } else {
cardLayout.show(cardPanel, "FILE"); cardLayout.show(cardPanel, "FILE");