You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pandaapo
changed the title
[Enhancement] RequestMapping has redundant code
[Enhancement] RequestMapping, UrlMappingPattern can apply some optimizing
May 13, 2023
Search before asking
Enhancement Request
org.apache.eventmesh.admin.rocketmq.util.RequestMapping :
This class has redundant code.
org.apache.eventmesh.admin.rocketmq.util.UrlMappingPattern :
The private method
getUrlMappingPattern()
only return a field value.The private method
setUrlMappingPattern(String pattern)
only assign a value to a field.The class has no parent class except Object, so
super()
is no needed.Describe the solution you'd like
org.apache.eventmesh.admin.rocketmq.util.RequestMapping:
Resolve the redundant code.
org.apache.eventmesh.admin.rocketmq.util.UrlMappingPattern :
Do some simplifying.
Are you willing to submit PR?
The text was updated successfully, but these errors were encountered: