From 10986aed333107aa22fc12384c0352b9b3199ae9 Mon Sep 17 00:00:00 2001 From: Pearl Dsilva Date: Tue, 13 Jan 2026 16:49:20 -0500 Subject: [PATCH] fix tests --- .../rdpconsole/src/test/java/streamer/ByteBufferTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/services/console-proxy/rdpconsole/src/test/java/streamer/ByteBufferTest.java b/services/console-proxy/rdpconsole/src/test/java/streamer/ByteBufferTest.java index db6778e6898..9c85b25bb09 100644 --- a/services/console-proxy/rdpconsole/src/test/java/streamer/ByteBufferTest.java +++ b/services/console-proxy/rdpconsole/src/test/java/streamer/ByteBufferTest.java @@ -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); } }