ijuma commented on code in PR #13582: URL: https://github.com/apache/kafka/pull/13582#discussion_r1236050527
########## clients/src/main/java/org/apache/kafka/common/serialization/ShortDeserializer.java: ########## @@ -34,7 +34,7 @@ public Short deserialize(String topic, byte[] data) { short value = 0; for (byte b : data) { value <<= 8; - value |= b & 0xFF; + value |= (short) (b & 0xFF); Review Comment: Fixed SpotBugs issue by changing `(byte)` to `(short)`. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org