From: Robert Varga Date: Sun, 14 Feb 2016 02:22:11 +0000 (+0100) Subject: Remove unused variant of newShardProps() X-Git-Tag: release/boron~360 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=commitdiff_plain;h=a34394fe997afab8f52e1e5177eeaa38a0e4ddec Remove unused variant of newShardProps() This signature is unused, remove it to squash an eclipse warning. Change-Id: I804961bfded0734a02fd00fb69979bb8b5b8feab Signed-off-by: Robert Varga --- diff --git a/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/entityownership/EntityOwnershipShardTest.java b/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/entityownership/EntityOwnershipShardTest.java index 762f5f6692..3a53e78200 100644 --- a/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/entityownership/EntityOwnershipShardTest.java +++ b/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/entityownership/EntityOwnershipShardTest.java @@ -805,16 +805,10 @@ public class EntityOwnershipShardTest extends AbstractEntityOwnershipTest { return newShardProps(Collections.emptyMap()); } - private Props newShardProps(EntityOwnerSelectionStrategyConfig strategyConfig) { - return newShardProps(newShardId(LOCAL_MEMBER_NAME), Collections.emptyMap(), - LOCAL_MEMBER_NAME, strategyConfig); - } - private Props newShardProps(EntityOwnerSelectionStrategyConfig strategyConfig, Map peers) { return newShardProps(newShardId(LOCAL_MEMBER_NAME), peers, LOCAL_MEMBER_NAME, strategyConfig); } - private Props newShardProps(Map peers) { return newShardProps(newShardId(LOCAL_MEMBER_NAME), peers, LOCAL_MEMBER_NAME, EntityOwnerSelectionStrategyConfig.newBuilder().build()); } @@ -845,8 +839,6 @@ public class EntityOwnershipShardTest extends AbstractEntityOwnershipTest { super.onReceiveCommand(message); } } - - } public static class MockFollower extends UntypedActor {