Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix CS warnings in sal-clustering-commons and enable enforcement
[controller.git]
/
opendaylight
/
md-sal
/
sal-clustering-commons
/
src
/
test
/
java
/
org
/
opendaylight
/
controller
/
cluster
/
common
/
actor
/
CommonConfigTest.java
diff --git
a/opendaylight/md-sal/sal-clustering-commons/src/test/java/org/opendaylight/controller/cluster/common/actor/CommonConfigTest.java
b/opendaylight/md-sal/sal-clustering-commons/src/test/java/org/opendaylight/controller/cluster/common/actor/CommonConfigTest.java
index 825b03c670b71a570c48ef0642b02d14812bb857..fb5ff64ae8a2d228ce6ce5247147c8d2ad93ebeb 100644
(file)
--- a/
opendaylight/md-sal/sal-clustering-commons/src/test/java/org/opendaylight/controller/cluster/common/actor/CommonConfigTest.java
+++ b/
opendaylight/md-sal/sal-clustering-commons/src/test/java/org/opendaylight/controller/cluster/common/actor/CommonConfigTest.java
@@
-8,19
+8,18
@@
package org.opendaylight.controller.cluster.common.actor;
package org.opendaylight.controller.cluster.common.actor;
-import org.junit.Test;
-import scala.concurrent.duration.FiniteDuration;
-
-import java.util.concurrent.TimeUnit;
-
-import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.assertTrue;
+import java.util.concurrent.TimeUnit;
+import org.junit.Test;
+import scala.concurrent.duration.FiniteDuration;
+
public class CommonConfigTest {
@Test
public class CommonConfigTest {
@Test
- public void testCommonConfigDefaults(){
+ public void testCommonConfigDefaults()
{
CommonConfig config = new CommonConfig.Builder<>("testsystem").build();
assertNotNull(config.getActorSystemName());
CommonConfig config = new CommonConfig.Builder<>("testsystem").build();
assertNotNull(config.getActorSystemName());
@@
-31,7
+30,7
@@
public class CommonConfigTest {
}
@Test
}
@Test
- public void testCommonConfigOverride(){
+ public void testCommonConfigOverride()
{
int expectedCapacity = 123;
String timeoutValue = "1000ms";
int expectedCapacity = 123;
String timeoutValue = "1000ms";
@@
-48,4
+47,4
@@
public class CommonConfigTest {
assertTrue(config.isMetricCaptureEnabled());
}
assertTrue(config.isMetricCaptureEnabled());
}
-}
\ No newline at end of file
+}