[optimize] Hard-coded Optimize
Open
- Dominant language
- Java
- Stars
- 808
- Forks
- 188
- Avg merge
- 3d 22h
- Merged PRs (30d)
- 2
Description
### 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.
Contributor guide
Assessment
This issue has not been assessed yet.