-
Notifications
You must be signed in to change notification settings - Fork 646
Closed
Labels
enhancementNew feature or requestNew feature or requestgood first issueIssues for first-time contributorsIssues for first-time contributors
Description
Search before asking
- I had searched in the issues and found no similar issues.
Enhancement Request




located at:
eventmesh-common/src/main/java/org/apache/eventmesh/common/protocol/grpc/common/EventMeshCloudEventUtils.java
analysis and explanation:
- Repeated code operations can be accomplished using a single method.
- Passing a non-null argument to 'Optional'.[366,383]
- Condition 'protoData == null' and 'binaryData == null' is always 'false'.[370,374]
- 'return' is unnecessary as the last statement in a 'void' method[416]
Describe the solution you'd like
Are you willing to submit PR?
- Yes I am willing to submit a PR!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueIssues for first-time contributorsIssues for first-time contributors


