Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlyn Normington2011-02-25 05:48:33 -0500
committerGlyn Normington2011-02-25 05:48:33 -0500
commita01b16df7cb7b9b4f5bec065988f50c54ec1d25a (patch)
treed947b72cabb8fb3e4977a438f1884e25b3c4834e /org.eclipse.virgo.kernel.userregionfactory
parent06e1ac345dc2d49d033dbf0211bd61a45c218321 (diff)
downloadorg.eclipse.virgo.kernel-a01b16df7cb7b9b4f5bec065988f50c54ec1d25a.tar.gz
org.eclipse.virgo.kernel-a01b16df7cb7b9b4f5bec065988f50c54ec1d25a.tar.xz
org.eclipse.virgo.kernel-a01b16df7cb7b9b4f5bec065988f50c54ec1d25a.zip
bug 338194: upgrade OSGi API usage
Diffstat (limited to 'org.eclipse.virgo.kernel.userregionfactory')
-rw-r--r--org.eclipse.virgo.kernel.userregionfactory/src/test/java/org/eclipse/virgo/kernel/userregionfactory/UserRegionPackageImportPolicyTests.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.virgo.kernel.userregionfactory/src/test/java/org/eclipse/virgo/kernel/userregionfactory/UserRegionPackageImportPolicyTests.java b/org.eclipse.virgo.kernel.userregionfactory/src/test/java/org/eclipse/virgo/kernel/userregionfactory/UserRegionPackageImportPolicyTests.java
index 3975dcb4..308470db 100644
--- a/org.eclipse.virgo.kernel.userregionfactory/src/test/java/org/eclipse/virgo/kernel/userregionfactory/UserRegionPackageImportPolicyTests.java
+++ b/org.eclipse.virgo.kernel.userregionfactory/src/test/java/org/eclipse/virgo/kernel/userregionfactory/UserRegionPackageImportPolicyTests.java
@@ -20,7 +20,7 @@ import org.eclipse.virgo.kernel.osgi.region.RegionPackageImportPolicy;
import org.junit.Assert;
import org.junit.Test;
import org.osgi.framework.Version;
-import org.osgi.framework.wiring.Capability;
+import org.osgi.framework.wiring.BundleRevision;
public class UserRegionPackageImportPolicyTests {
@@ -65,7 +65,7 @@ public class UserRegionPackageImportPolicyTests {
private Map<String, Object> createAttributes(String packageName) {
Map<String, Object> attributes = new HashMap<String, Object>();
- attributes.put(Capability.PACKAGE_CAPABILITY, packageName);
+ attributes.put(BundleRevision.PACKAGE_NAMESPACE, packageName);
return attributes;
}

Back to the top