Dev estimate: 0.5
Test estimate: 0.5
In .../services/serviceBus/implementation/BrokerPropertiesMapper.java, we have this code:
return mapper.readValue(value.getBytes(), BrokerProperties.class);
This is inconsistent from the rest of the uses of getBytes in the SDK, which always specify UTF-8 encoding. When no encoding is specified, the "platform's default charset" is used.
This could lead to problems, because this means that the behavior of the BrokerPropertiesMapper is dependent on the platform settings, while the rest of the SDK is invariant.
Dev estimate: 0.5
Test estimate: 0.5
In .../services/serviceBus/implementation/BrokerPropertiesMapper.java, we have this code:
This is inconsistent from the rest of the uses of
getBytesin the SDK, which always specify UTF-8 encoding. When no encoding is specified, the "platform's default charset" is used.This could lead to problems, because this means that the behavior of the
BrokerPropertiesMapperis dependent on the platform settings, while the rest of the SDK is invariant.