We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 666105b commit 5967128Copy full SHA for 5967128
services/console-proxy/rdpconsole/src/test/java/streamer/ByteBufferTest.java
@@ -62,9 +62,10 @@ public static Collection<Object[]> data() {
62
// and was used to remove these cases from the production code.
63
// Don't try to fix it
64
@Test
65
+ @SuppressWarnings("BadShiftAmount")
66
public void testShiftByteBy32BitsDoesNothing() throws Exception {
67
for (byte b : data) {
- assertEquals(b, (long) b << 32);
68
+ assertEquals(b, b << 32);
69
}
70
71
0 commit comments