gabrywu commented on pull request #2969:
URL: 
https://github.com/apache/incubator-dolphinscheduler/pull/2969#issuecomment-657963137


   hi ,@superScala , unfortunately @qiaozhanwei reverted this PR 
(https://github.com/apache/incubator-dolphinscheduler/pull/3035) and he gave a 
useful blog https://www.jianshu.com/p/1f27eaea611d to explain it,  you can get 
infos from the blog. 
   According to the blog 'break' is no needed, however I till think it's not 
the best practice to remove break from switch. I suggest that you refactor it 
using Chain of Responsibility Pattern, waiting for your new PR about this


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to