Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Alexander Kuppe2011-04-08 13:13:45 +0000
committerMarkus Alexander Kuppe2011-04-08 13:13:45 +0000
commit399433e73e74aa24f53e4a934da2340e108ab52c (patch)
tree86da41f741083544f75c350c23e7bbfcbc07f0a3
parent88df00af70b44f89c4d85a33e183eb91bf803f47 (diff)
downloadorg.eclipse.ecf-399433e73e74aa24f53e4a934da2340e108ab52c.tar.gz
org.eclipse.ecf-399433e73e74aa24f53e4a934da2340e108ab52c.tar.xz
org.eclipse.ecf-399433e73e74aa24f53e4a934da2340e108ab52c.zip
Prevent NPE if a bundle's symbolic name is null
-rw-r--r--osgi/bundles/org.eclipse.ecf.osgi.services.remoteserviceadmin/src/org/eclipse/ecf/internal/osgi/services/remoteserviceadmin/Activator.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/osgi/bundles/org.eclipse.ecf.osgi.services.remoteserviceadmin/src/org/eclipse/ecf/internal/osgi/services/remoteserviceadmin/Activator.java b/osgi/bundles/org.eclipse.ecf.osgi.services.remoteserviceadmin/src/org/eclipse/ecf/internal/osgi/services/remoteserviceadmin/Activator.java
index c3aa49ce1..fc883f9dd 100644
--- a/osgi/bundles/org.eclipse.ecf.osgi.services.remoteserviceadmin/src/org/eclipse/ecf/internal/osgi/services/remoteserviceadmin/Activator.java
+++ b/osgi/bundles/org.eclipse.ecf.osgi.services.remoteserviceadmin/src/org/eclipse/ecf/internal/osgi/services/remoteserviceadmin/Activator.java
@@ -72,7 +72,7 @@ public class Activator implements BundleActivator {
private void initializeProxyServiceFactoryBundle() throws Exception {
// First, find proxy bundle
for (Bundle b : context.getBundles()) {
- if (b.getSymbolicName().equals(RSA_PROXY_BUNDLE_SYMBOLIC_ID)) {
+ if (RSA_PROXY_BUNDLE_SYMBOLIC_ID.equals(b.getSymbolicName())) {
// first start it
b.start();
// then get its bundle context

Back to the top