Description:
Currently, some values in NettyMessage.java are hard-coded, such as the magic number 0xBADC0FFE, which needs to be constantized.
- ClusterConstants.java: Various prefixes and constants can be extracted as configuration
- NettyMessage.java: The magic number 0xBADC0FFE needs to be constantized
- StringLiteralUtil.java: The multiplier array {1000, 100, 10, 1} needs to be constantized.
- LocalClient.java: The JSON template string needs to be extracted.
Description:
Currently, some values in
NettyMessage.javaare hard-coded, such as the magic number 0xBADC0FFE, which needs to be constantized.