apache / apache/geaflow

[optimize] Hard-coded Optimize

Open
#661 9 comments 0 reactions 1 assignee Claimed by @kitalkuyo-gita View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.