Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Make potentially-static methods static
[controller.git]
/
opendaylight
/
md-sal
/
sal-distributed-datastore
/
src
/
test
/
java
/
org
/
opendaylight
/
controller
/
cluster
/
datastore
/
entityownership
/
selectionstrategy
/
LeastLoadedCandidateSelectionStrategyTest.java
diff --git
a/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/entityownership/selectionstrategy/LeastLoadedCandidateSelectionStrategyTest.java
b/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/entityownership/selectionstrategy/LeastLoadedCandidateSelectionStrategyTest.java
index d0cd32f1b01f7ec529b2874fa6db023a56f0a0b0..d8c3b4bb06f49e79a2bdc4857e2ee59714347920 100644
(file)
--- a/
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/entityownership/selectionstrategy/LeastLoadedCandidateSelectionStrategyTest.java
+++ b/
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/entityownership/selectionstrategy/LeastLoadedCandidateSelectionStrategyTest.java
@@
-79,7
+79,7
@@
public class LeastLoadedCandidateSelectionStrategyTest {
return viableCandidates;
}
return viableCandidates;
}
- private void assertStatistics(Map<String, Long> statistics, long... count){
+ private
static
void assertStatistics(Map<String, Long> statistics, long... count){
for(int i=0;i<count.length;i++){
assertEquals(count[i], (long) statistics.get("member-" + (i+1)));
}
for(int i=0;i<count.length;i++){
assertEquals(count[i], (long) statistics.get("member-" + (i+1)));
}