mirror of https://github.com/apache/cloudstack.git
fix tests
This commit is contained in:
parent
f059f4a4c1
commit
10986aed33
|
|
@ -62,9 +62,10 @@ public class ByteBufferTest {
|
|||
// and was used to remove these cases from the production code.
|
||||
// Don't try to fix it
|
||||
@Test
|
||||
@SuppressWarnings("BadShiftAmount")
|
||||
public void testShiftByteBy32BitsDoesNothing() throws Exception {
|
||||
for (byte b : data) {
|
||||
assertEquals(b, (long) b << 32);
|
||||
assertEquals(b, b << 32);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue