X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fcommons%2Fliblldp%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fsal%2Fpacket%2FBitBufferHelperTest.java;h=0ba5476e52cb5141d9f345670aff36a03e526177;hp=32e873bf1e9bf8506e43733e06598a158c2df4b9;hb=213019300c39dec33155b63ad5374842f92760ac;hpb=fdc97fc0d771dcf17616282bc942b05243182a5a diff --git a/opendaylight/commons/liblldp/src/test/java/org/opendaylight/controller/sal/packet/BitBufferHelperTest.java b/opendaylight/commons/liblldp/src/test/java/org/opendaylight/controller/sal/packet/BitBufferHelperTest.java index 32e873bf1e..0ba5476e52 100644 --- a/opendaylight/commons/liblldp/src/test/java/org/opendaylight/controller/sal/packet/BitBufferHelperTest.java +++ b/opendaylight/commons/liblldp/src/test/java/org/opendaylight/controller/sal/packet/BitBufferHelperTest.java @@ -295,7 +295,7 @@ public class BitBufferHelperTest { Assert.assertTrue(data_sh[0] == (byte) 255); Assert.assertTrue(data_sh[1] == (byte) 128); - data_sh = BitBufferHelper.toByteArray((int) 511, len); + data_sh = BitBufferHelper.toByteArray(511, len); Assert.assertTrue(data_sh[0] == (byte) 255); Assert.assertTrue(data_sh[1] == (byte) 128);