Skip to content

Commit 5967128

Browse files
committed
fix tests
1 parent 666105b commit 5967128

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

services/console-proxy/rdpconsole/src/test/java/streamer/ByteBufferTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,10 @@ public static Collection<Object[]> data() {
6262
// and was used to remove these cases from the production code.
6363
// Don't try to fix it
6464
@Test
65+
@SuppressWarnings("BadShiftAmount")
6566
public void testShiftByteBy32BitsDoesNothing() throws Exception {
6667
for (byte b : data) {
67-
assertEquals(b, (long) b << 32);
68+
assertEquals(b, b << 32);
6869
}
6970
}
7071

0 commit comments

Comments
 (0)