diff options
author | Vincent Lucas <chenzo@jitsi.org> | 2008-05-26 22:07:06 +0000 |
---|---|---|
committer | Vincent Lucas <chenzo@jitsi.org> | 2008-05-26 22:07:06 +0000 |
commit | 03aba6b1d052ed87c72b84ad3c4e0d3cec94b53a (patch) | |
tree | a9fa0840337994a2f079e5786d9cb5d3896b98b1 /src/net/java/sip | |
parent | b800b0fad90eb7d7a67a8a9a1267f06868529c0d (diff) | |
download | jitsi-03aba6b1d052ed87c72b84ad3c4e0d3cec94b53a.zip jitsi-03aba6b1d052ed87c72b84ad3c4e0d3cec94b53a.tar.gz jitsi-03aba6b1d052ed87c72b84ad3c4e0d3cec94b53a.tar.bz2 |
Correcting dictaccregwizz to be java1.5 compliant.
Diffstat (limited to 'src/net/java/sip')
-rw-r--r-- | src/net/java/sip/communicator/plugin/dictaccregwizz/FirstWizardPage.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/java/sip/communicator/plugin/dictaccregwizz/FirstWizardPage.java b/src/net/java/sip/communicator/plugin/dictaccregwizz/FirstWizardPage.java index 474bc6d..821b5c4 100644 --- a/src/net/java/sip/communicator/plugin/dictaccregwizz/FirstWizardPage.java +++ b/src/net/java/sip/communicator/plugin/dictaccregwizz/FirstWizardPage.java @@ -378,7 +378,7 @@ public class FirstWizardPage private void setNextButtonEnabled() { boolean hostOK = DictAdapter.isUrl(hostField.getText()); - boolean portOK = !this.portField.getText().isEmpty() + boolean portOK = (this.portField.getText().length() != 0) && Integer.parseInt(this.portField.getText()) > 10; if (this.firstAccount) |