X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fcommons%2Fliblldp%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fsal%2Fpacket%2FBitBufferHelperTest.java;h=0ba5476e52cb5141d9f345670aff36a03e526177;hb=123afd8b015173c459f4937c84eb2e91286f65a8;hp=32e873bf1e9bf8506e43733e06598a158c2df4b9;hpb=10cc4ebefbfd7071a1b0c3300187f7713391d4be;p=controller.git 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);