Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2009-04-22 07:12:32 +0000
committerslewis2009-04-22 07:12:32 +0000
commit86ea3b33137b5c6ffd8d338d6c1ea62dfc98e0aa (patch)
tree30b2753f20b403410177b913edb61865439f1038
parent8f3dc5e9ca399415a69b6cd038ba29b63ea34362 (diff)
downloadorg.eclipse.ecf-86ea3b33137b5c6ffd8d338d6c1ea62dfc98e0aa.tar.gz
org.eclipse.ecf-86ea3b33137b5c6ffd8d338d6c1ea62dfc98e0aa.tar.xz
org.eclipse.ecf-86ea3b33137b5c6ffd8d338d6c1ea62dfc98e0aa.zip
Fix for Integer property
-rw-r--r--compendium/bundles/org.eclipse.ecf.osgi.services.distribution/src/org/eclipse/ecf/internal/osgi/services/distribution/Activator.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/compendium/bundles/org.eclipse.ecf.osgi.services.distribution/src/org/eclipse/ecf/internal/osgi/services/distribution/Activator.java b/compendium/bundles/org.eclipse.ecf.osgi.services.distribution/src/org/eclipse/ecf/internal/osgi/services/distribution/Activator.java
index f7cbf96b4..4af427ae9 100644
--- a/compendium/bundles/org.eclipse.ecf.osgi.services.distribution/src/org/eclipse/ecf/internal/osgi/services/distribution/Activator.java
+++ b/compendium/bundles/org.eclipse.ecf.osgi.services.distribution/src/org/eclipse/ecf/internal/osgi/services/distribution/Activator.java
@@ -112,8 +112,8 @@ public class Activator implements BundleActivator {
// Set service ranking to Integer.MIN_VALUE so that other impls
// will be prefered over the default one
final Properties proxyContainerFinderProps = new Properties();
- proxyContainerFinderProps.put(Constants.SERVICE_RANKING,
- Integer.MIN_VALUE);
+ proxyContainerFinderProps.put(Constants.SERVICE_RANKING, new Integer(
+ Integer.MIN_VALUE));
// Register default proxy container finder
this.proxyrsContainerFinderRegistration = this.context.registerService(
IProxyContainerFinder.class.getName(),
@@ -126,8 +126,8 @@ public class Activator implements BundleActivator {
// register the default host container finder
final Properties hostContainerFinderProps = new Properties();
- hostContainerFinderProps.put(Constants.SERVICE_RANKING,
- Integer.MIN_VALUE);
+ hostContainerFinderProps.put(Constants.SERVICE_RANKING, new Integer(
+ Integer.MIN_VALUE));
this.hostrsContainerFinderRegistration = this.context.registerService(
IHostContainerFinder.class.getName(),
new DefaultHostContainerFinder(), hostContainerFinderProps);

Back to the top