aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/plugin/provisioning
diff options
context:
space:
mode:
authorIngo Bauersachs <ingo@jitsi.org>2013-01-23 13:15:19 +0000
committerIngo Bauersachs <ingo@jitsi.org>2013-01-23 13:15:19 +0000
commit7f0815b7590915a4ac31c2858e585f5e1ca9ff8a (patch)
tree1fe4f7dab7220821d3be0351529057326f3b50b4 /src/net/java/sip/communicator/plugin/provisioning
parent872293bf8460c264d9b81d3e9bf1ca34624254a5 (diff)
downloadjitsi-7f0815b7590915a4ac31c2858e585f5e1ca9ff8a.zip
jitsi-7f0815b7590915a4ac31c2858e585f5e1ca9ff8a.tar.gz
jitsi-7f0815b7590915a4ac31c2858e585f5e1ca9ff8a.tar.bz2
Avoid starting provisioning of the method is not defined
Diffstat (limited to 'src/net/java/sip/communicator/plugin/provisioning')
-rw-r--r--src/net/java/sip/communicator/plugin/provisioning/ProvisioningActivator.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/java/sip/communicator/plugin/provisioning/ProvisioningActivator.java b/src/net/java/sip/communicator/plugin/provisioning/ProvisioningActivator.java
index 16ef17c..95dcf42 100644
--- a/src/net/java/sip/communicator/plugin/provisioning/ProvisioningActivator.java
+++ b/src/net/java/sip/communicator/plugin/provisioning/ProvisioningActivator.java
@@ -17,6 +17,7 @@ import net.java.sip.communicator.util.*;
import org.jitsi.service.configuration.*;
import org.jitsi.service.resources.*;
+import org.jitsi.util.StringUtils;
import org.osgi.framework.*;
/**
@@ -115,7 +116,7 @@ public class ProvisioningActivator
String method = provisioningService.getProvisioningMethod();
- if(method == null || method.equals("NONE"))
+ if(StringUtils.isNullOrEmpty(method, true) || method.equals("NONE"))
{
return;
}