[Enhancement] Method needlessly defines parameter with concrete classes[RejectClientBySubSystemHandler] #3905
Closed
1 of 2 tasks
Labels
enhancement
New feature or request
Search before asking
Enhancement Request
located at:
eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/admin/handler/RejectClientBySubSystemHandler.java line 55
analysis and explanation:
This method uses concrete classes for parameters when only methods defined in an implemented interface or superclass are used. Consider increasing the abstraction of the interface to make low impact changes easier to accomplish in the future.
Describe the solution you'd like
Use
Collection
instead ofList
.Are you willing to submit PR?
The text was updated successfully, but these errors were encountered: