aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/plugin/dictaccregwizz/FirstWizardPage.java
diff options
context:
space:
mode:
authorVincent Lucas <chenzo@jitsi.org>2008-05-26 22:07:06 +0000
committerVincent Lucas <chenzo@jitsi.org>2008-05-26 22:07:06 +0000
commit03aba6b1d052ed87c72b84ad3c4e0d3cec94b53a (patch)
treea9fa0840337994a2f079e5786d9cb5d3896b98b1 /src/net/java/sip/communicator/plugin/dictaccregwizz/FirstWizardPage.java
parentb800b0fad90eb7d7a67a8a9a1267f06868529c0d (diff)
downloadjitsi-03aba6b1d052ed87c72b84ad3c4e0d3cec94b53a.zip
jitsi-03aba6b1d052ed87c72b84ad3c4e0d3cec94b53a.tar.gz
jitsi-03aba6b1d052ed87c72b84ad3c4e0d3cec94b53a.tar.bz2
Correcting dictaccregwizz to be java1.5 compliant.
Diffstat (limited to 'src/net/java/sip/communicator/plugin/dictaccregwizz/FirstWizardPage.java')
-rw-r--r--src/net/java/sip/communicator/plugin/dictaccregwizz/FirstWizardPage.java2
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)