diff options
author | slewis | 2015-07-25 21:42:01 +0000 |
---|---|---|
committer | slewis | 2015-07-25 21:42:01 +0000 |
commit | 01ae1d57e71c4fe598024503b4e9e535ba960a8b (patch) | |
tree | 8a20fe4f5593db81e202fc19024e99b5ef67b803 /examples/bundles/com.mycorp.examples.timeservice.host | |
parent | 4cfef915a5d4c65d6758d58d7f41fd47955df76a (diff) | |
download | org.eclipse.ecf-01ae1d57e71c4fe598024503b4e9e535ba960a8b.tar.gz org.eclipse.ecf-01ae1d57e71c4fe598024503b4e9e535ba960a8b.tar.xz org.eclipse.ecf-01ae1d57e71c4fe598024503b4e9e535ba960a8b.zip |
Improve TimeService Host example code.
Change-Id: I4594e3402db2ed8a62bd0ba054a8e28ec00cdb5f
Diffstat (limited to 'examples/bundles/com.mycorp.examples.timeservice.host')
-rw-r--r-- | examples/bundles/com.mycorp.examples.timeservice.host/src/com/mycorp/examples/timeservice/host/Activator.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/bundles/com.mycorp.examples.timeservice.host/src/com/mycorp/examples/timeservice/host/Activator.java b/examples/bundles/com.mycorp.examples.timeservice.host/src/com/mycorp/examples/timeservice/host/Activator.java index 6aa327e37..33721b3d0 100644 --- a/examples/bundles/com.mycorp.examples.timeservice.host/src/com/mycorp/examples/timeservice/host/Activator.java +++ b/examples/bundles/com.mycorp.examples.timeservice.host/src/com/mycorp/examples/timeservice/host/Activator.java @@ -80,11 +80,11 @@ public class Activator implements BundleActivator { result.put(SERVICE_EXPORTED_CONFIGS, config); // add any config properties. config properties start with // the config name '.' property - for (Object k : result.keySet()) { + for (Object k : props.keySet()) { if (k instanceof String) { String key = (String) k; if (key.startsWith(config)) - result.put(key, result.get(key)); + result.put(key, props.get(key)); } } return result; |