X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-distributed-datastore%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fdatastore%2Fmessages%2FCanCommitTransactionReplyTest.java;h=5ebc282cebe0f55ec2ff470458ea51e3ae52cb25;hb=HEAD;hp=21c4d2f673d97fd4018e7eaecca88022282ad527;hpb=9bce68c4712d00951d121be68b09578bc6e09151;p=controller.git diff --git a/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/messages/CanCommitTransactionReplyTest.java b/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/messages/CanCommitTransactionReplyTest.java index 21c4d2f673..5ebc282ceb 100644 --- a/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/messages/CanCommitTransactionReplyTest.java +++ b/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/messages/CanCommitTransactionReplyTest.java @@ -12,7 +12,7 @@ import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import java.io.Serializable; -import org.apache.commons.lang.SerializationUtils; +import org.apache.commons.lang3.SerializationUtils; import org.junit.Test; import org.opendaylight.controller.cluster.datastore.DataStoreVersions; @@ -21,8 +21,8 @@ import org.opendaylight.controller.cluster.datastore.DataStoreVersions; * * @author Thomas Pantelis */ +@Deprecated(since = "9.0.0", forRemoval = true) public class CanCommitTransactionReplyTest { - @Test public void testSerialization() { testSerialization(CanCommitTransactionReply.yes(DataStoreVersions.CURRENT_VERSION), @@ -31,7 +31,7 @@ public class CanCommitTransactionReplyTest { CanCommitTransactionReply.class); } - private static void testSerialization(CanCommitTransactionReply expected, Class expSerialized) { + private static void testSerialization(final CanCommitTransactionReply expected, final Class expSerialized) { Object serialized = expected.toSerializable(); assertEquals("Serialized type", expSerialized, serialized.getClass());