diff options
author | Deepak Bhole <[email protected]> | 2010-12-06 15:34:01 -0500 |
---|---|---|
committer | Deepak Bhole <[email protected]> | 2010-12-06 15:34:01 -0500 |
commit | 6ca1a9a369b10703da9af8f8a1ced0f3b02ae5c2 (patch) | |
tree | 568f8e454db94fa8abc896b46ce8cac7a9f3b74d /netx/net/sourceforge/jnlp/security/SecurityWarning.java | |
parent | 0d66adf24179c33bbdccaacc10d4c8a5f5e2cd54 (diff) |
Fixed indentation and spacing for all .java files.
Added a new .settings directory which contains Eclipse
preferences for code style.
Diffstat (limited to 'netx/net/sourceforge/jnlp/security/SecurityWarning.java')
-rw-r--r-- | netx/net/sourceforge/jnlp/security/SecurityWarning.java | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/netx/net/sourceforge/jnlp/security/SecurityWarning.java b/netx/net/sourceforge/jnlp/security/SecurityWarning.java index c0eda43..863cb2a 100644 --- a/netx/net/sourceforge/jnlp/security/SecurityWarning.java +++ b/netx/net/sourceforge/jnlp/security/SecurityWarning.java @@ -35,7 +35,6 @@ obligated to do so. If you do not wish to do so, delete this exception statement from your version. */ - package net.sourceforge.jnlp.security; import java.awt.Dialog.ModalityType; @@ -97,7 +96,7 @@ public class SecurityWarning { * @return true if permission was granted by the user, false otherwise. */ public static boolean showAccessWarningDialog(AccessType accessType, JNLPFile file) { - return showAccessWarningDialog(accessType, file, null); + return showAccessWarningDialog(accessType, file, null); } /** @@ -111,7 +110,7 @@ public class SecurityWarning { * @return true if permission was granted by the user, false otherwise. */ public static boolean showAccessWarningDialog(final AccessType accessType, - final JNLPFile file, final Object[] extras) { + final JNLPFile file, final Object[] extras) { if (!shouldPromptUser()) { return false; @@ -161,7 +160,7 @@ public class SecurityWarning { if (selectedValue == null) { return false; } else if (selectedValue instanceof Integer) { - if (((Integer)selectedValue).intValue() == 0) { + if (((Integer) selectedValue).intValue() == 0) { return true; } else { return false; @@ -188,7 +187,7 @@ public class SecurityWarning { return false; } - final SecurityDialogMessage message = new SecurityDialogMessage(); + final SecurityDialogMessage message = new SecurityDialogMessage(); message.dialogType = DialogType.CERT_WARNING; message.accessType = accessType; message.file = file; |