[PPP-502] TKMS - Add decorator for message headers #210
GitHub Actions / Spotbugs Report-(3.2.2)
completed
Aug 6, 2024 in 0s
SpotBugs Source Code Analyzer report
2 violation(s) found
Annotations
github-actions / Spotbugs Report-(3.2.2)
DM_DEFAULT_ENCODING
Found reliance on default encoding in com.transferwise.kafka.tkms.MessageDecorationTest.lambda$checkForHeader$2(String, String, Header): new String(byte[])
Raw output
Found a call to a method which will perform a byte to String (or String to byte) conversion, and will assume that the default platform encoding is suitable. This will cause the application behavior to vary between platforms. Use an alternative API and specify a charset name or Charset object explicitly.
github-actions / Spotbugs Report-(3.2.2)
DM_DEFAULT_ENCODING
Found reliance on default encoding in com.transferwise.kafka.tkms.test.TestMessageDecorator.getHeaders(TkmsMessage): String.getBytes()
Raw output
Found a call to a method which will perform a byte to String (or String to byte) conversion, and will assume that the default platform encoding is suitable. This will cause the application behavior to vary between platforms. Use an alternative API and specify a charset name or Charset object explicitly.
Loading