How to avoid duplicated if statements

后端 未结 0 1674
误落风尘
误落风尘 2021-02-14 17:26

I have multiple services that implements interface with one method - execute(). Each service uses this method to execute some actions based on String value which, in original co

相关标签:
回答
  • 消灭零回复
提交回复
热议问题