diff options
author | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2009-03-16 23:24:22 +0000 |
---|---|---|
committer | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2009-03-16 23:24:22 +0000 |
commit | d4031259e8e887baf50feacd72bf1e57de175109 (patch) | |
tree | 9947a0f8c7b1ef9ae7e367b9204343684170ab45 /java/sca/modules/implementation-osgi/src | |
parent | 15cb80cb8e53910e05f6d6f6d8ed4536eb335eba (diff) |
Fix the wrong reference to BUNDLE_VERSION constant
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@755041 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/modules/implementation-osgi/src')
-rw-r--r-- | java/sca/modules/implementation-osgi/src/main/java/org/apache/tuscany/sca/implementation/osgi/xml/OSGiImplementationProcessor.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/java/sca/modules/implementation-osgi/src/main/java/org/apache/tuscany/sca/implementation/osgi/xml/OSGiImplementationProcessor.java b/java/sca/modules/implementation-osgi/src/main/java/org/apache/tuscany/sca/implementation/osgi/xml/OSGiImplementationProcessor.java index fca5f8fd96..b3ecc240cc 100644 --- a/java/sca/modules/implementation-osgi/src/main/java/org/apache/tuscany/sca/implementation/osgi/xml/OSGiImplementationProcessor.java +++ b/java/sca/modules/implementation-osgi/src/main/java/org/apache/tuscany/sca/implementation/osgi/xml/OSGiImplementationProcessor.java @@ -52,6 +52,7 @@ import org.apache.tuscany.sca.monitor.Problem; import org.apache.tuscany.sca.monitor.Problem.Severity; import org.osgi.framework.Bundle; import org.osgi.framework.BundleContext; +import org.osgi.framework.Constants; import org.osgi.framework.Version; /** @@ -142,7 +143,7 @@ public class OSGiImplementationProcessor implements StAXArtifactProcessor<OSGiIm Bundle bundle = null; for (Bundle b : bundleContext.getBundles()) { String sn = b.getSymbolicName(); - String ver = (String)b.getHeaders().get(BUNDLE_VERSION); + String ver = (String)b.getHeaders().get(Constants.BUNDLE_VERSION); if (!impl.getBundleSymbolicName().equals(sn)) { continue; } |