Repository: incubator-tephra Updated Branches: refs/heads/master 0b256202f -> 7b45a6e1a
TEPHRA-202 Bump up twill.version to 0.8.0 This closes #21 from GitHub. Signed-off-by: Gokul Gunasekaran <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/incubator-tephra/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-tephra/commit/7b45a6e1 Tree: http://git-wip-us.apache.org/repos/asf/incubator-tephra/tree/7b45a6e1 Diff: http://git-wip-us.apache.org/repos/asf/incubator-tephra/diff/7b45a6e1 Branch: refs/heads/master Commit: 7b45a6e1a3e1705291859de507c71eafc7c6e520 Parents: 0b25620 Author: Gokul Gunasekaran <[email protected]> Authored: Sun Dec 4 18:27:54 2016 -0800 Committer: Gokul Gunasekaran <[email protected]> Committed: Mon Dec 5 14:19:41 2016 -0800 ---------------------------------------------------------------------- pom.xml | 2 +- .../tephra/inmemory/InMemoryTransactionService.java | 12 +----------- 2 files changed, 2 insertions(+), 12 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-tephra/blob/7b45a6e1/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 5dc3512..4b532d5 100644 --- a/pom.xml +++ b/pom.xml @@ -215,7 +215,7 @@ <junit.version>4.11</junit.version> <slf4j.version>1.7.5</slf4j.version> <thrift.version>0.9.0</thrift.version> - <twill.version>0.6.0-incubating</twill.version> + <twill.version>0.8.0</twill.version> <dropwizard.metrics.version>3.1.0</dropwizard.metrics.version> </properties> http://git-wip-us.apache.org/repos/asf/incubator-tephra/blob/7b45a6e1/tephra-core/src/main/java/org/apache/tephra/inmemory/InMemoryTransactionService.java ---------------------------------------------------------------------- diff --git a/tephra-core/src/main/java/org/apache/tephra/inmemory/InMemoryTransactionService.java b/tephra-core/src/main/java/org/apache/tephra/inmemory/InMemoryTransactionService.java index fb45362..3a32399 100644 --- a/tephra-core/src/main/java/org/apache/tephra/inmemory/InMemoryTransactionService.java +++ b/tephra-core/src/main/java/org/apache/tephra/inmemory/InMemoryTransactionService.java @@ -91,17 +91,7 @@ public class InMemoryTransactionService extends AbstractService { } protected void doRegister() { - cancelDiscovery = discoveryService.register(new Discoverable() { - @Override - public String getName() { - return serviceName; - } - - @Override - public InetSocketAddress getSocketAddress() { - return getAddress(); - } - }); + cancelDiscovery = discoveryService.register(new Discoverable(serviceName, getAddress())); } protected InetSocketAddress getAddress() {
