Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2012-06-07 14:29:26 -0400
committerslewis2012-06-07 14:29:26 -0400
commit32f3df56617fcb31345a6868f80bb40ce687d0b3 (patch)
tree7d42c529503b005dc0b66cd0e132292774b4c9ba
parente5252e99b444dc3f829fa32469be8c2e901f9f36 (diff)
parent521d1838a8eecdb14f5f10e6a7461d0031408134 (diff)
downloadorg.eclipse.ecf-32f3df56617fcb31345a6868f80bb40ce687d0b3.tar.gz
org.eclipse.ecf-32f3df56617fcb31345a6868f80bb40ce687d0b3.tar.xz
org.eclipse.ecf-32f3df56617fcb31345a6868f80bb40ce687d0b3.zip
Merge remote-tracking branch 'origin/master'
-rw-r--r--providers/bundles/org.eclipse.ecf.provider.zookeeper/src/org/eclipse/ecf/provider/zookeeper/core/internal/Configuration.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/providers/bundles/org.eclipse.ecf.provider.zookeeper/src/org/eclipse/ecf/provider/zookeeper/core/internal/Configuration.java b/providers/bundles/org.eclipse.ecf.provider.zookeeper/src/org/eclipse/ecf/provider/zookeeper/core/internal/Configuration.java
index 1c21fd895..d305c3b91 100644
--- a/providers/bundles/org.eclipse.ecf.provider.zookeeper/src/org/eclipse/ecf/provider/zookeeper/core/internal/Configuration.java
+++ b/providers/bundles/org.eclipse.ecf.provider.zookeeper/src/org/eclipse/ecf/provider/zookeeper/core/internal/Configuration.java
@@ -172,7 +172,8 @@ public class Configuration extends DefaultDiscoveryConfig {
}
public int getElectionPort() {
- return ((Integer) getConfigProperties().get(ZOOKEEPER_ELECTION_PORT));
+ return Integer.parseInt((String) getConfigProperties().get(
+ ZOOKEEPER_ELECTION_PORT));
}
public String getConfFile() {

Back to the top