-
Notifications
You must be signed in to change notification settings - Fork 8.7k
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
optimized: remove unused code in serializer factory. #3046
optimized: remove unused code in serializer factory. #3046
Conversation
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.
or remove the whole SerializerFactory. User EnhancedServiceLoader.load in the encoder and decoder. Can somebody give me some advice?
Codecov Report
@@ Coverage Diff @@
## develop #3046 +/- ##
=============================================
+ Coverage 50.38% 50.40% +0.02%
+ Complexity 3095 3093 -2
=============================================
Files 600 599 -1
Lines 19541 19531 -10
Branches 2412 2412
=============================================
Hits 9845 9845
+ Misses 8707 8697 -10
Partials 989 989
|
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.
I think SerializerFactory can indeed be deleted.
+1 |
Thanks a lot. |
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.
LGTM
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.
LGTM
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.
LGTM
Ⅰ. Describe what this PR did
remove unused code in serializer factory.
Ⅱ. Does this pull request fix one issue?
Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews