X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-akka-raft%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fraft%2Fbehaviors%2FFollowerIdentifierTest.java;h=a9305a6862f32f3737a194ad6ef601f6e77baff0;hp=8f0b6136643864011138c1626cad3b987dbb8857;hb=12fcdfe39aa26dcba7fd3bb4d4c68e3d02e65c51;hpb=3564341bbc0a9b53c5a26becb3d03230125cba80 diff --git a/opendaylight/md-sal/sal-akka-raft/src/test/java/org/opendaylight/controller/cluster/raft/behaviors/FollowerIdentifierTest.java b/opendaylight/md-sal/sal-akka-raft/src/test/java/org/opendaylight/controller/cluster/raft/behaviors/FollowerIdentifierTest.java index 8f0b613664..a9305a6862 100644 --- a/opendaylight/md-sal/sal-akka-raft/src/test/java/org/opendaylight/controller/cluster/raft/behaviors/FollowerIdentifierTest.java +++ b/opendaylight/md-sal/sal-akka-raft/src/test/java/org/opendaylight/controller/cluster/raft/behaviors/FollowerIdentifierTest.java @@ -9,8 +9,6 @@ package org.opendaylight.controller.cluster.raft.behaviors; import static org.junit.Assert.assertEquals; -import java.io.FileNotFoundException; -import java.io.IOException; import org.apache.commons.lang.SerializationUtils; import org.junit.Test; @@ -22,7 +20,7 @@ import org.junit.Test; public class FollowerIdentifierTest { @Test - public void testSerialization() throws FileNotFoundException, IOException { + public void testSerialization() { FollowerIdentifier expected = new FollowerIdentifier("follower1"); FollowerIdentifier cloned = (FollowerIdentifier) SerializationUtils.clone(expected); assertEquals("cloned", expected, cloned);