New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ISSUE #4763] Do some code optimization.[EventMeshCommon] #4764
base: master
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #4764 +/- ##
=============================================
+ Coverage 0 16.37% +16.37%
- Complexity 0 1734 +1734
=============================================
Files 0 856 +856
Lines 0 31266 +31266
Branches 0 2700 +2700
=============================================
+ Hits 0 5121 +5121
- Misses 0 25665 +25665
- Partials 0 480 +480 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not all members in the EventMeshCommon
class are shared across the entire project. Some members are used in the client.tcp
package, while others are used in both the sdk module and the client
package.
Therefore, it is not a good idea to directly move the EventMeshCommon
class, which originally belongs to the client.tcp
package, to the common
module. It requires a more detailed and clear separation to unify all related usages.
…_patch_4763 * 'fix_patch_4763' of github.com:scwlkq/eventmesh: move EventMeshCommon class to common module
Is there any obstacles in this PR? |
Closed because I thought the issue was meaningless hahaha. |
eventmesh-common/src/main/java/org/apache/eventmesh/common/EventMeshCommon.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
EventMeshCommon
class is designed to store constants of EventMesh SDK. It should be kept in org.apache.eventmesh.client
package although it is referenced by other protocols.
Fixes #4763
Motivation
move EventMeshCommon class to Common module.
Modifications
Documentation