zhuangchong opened a new pull request #3746:
URL: https://github.com/apache/incubator-dolphinscheduler/pull/3746


   ## What is the purpose of the pull request
   #3745 
   ```
   switch (EnumUtils.getEnum(TaskType.class,taskExecutionContext.getTaskType()))
   ```
   When the task type does not exist in the enumeration class TaskType, 
EnumUtils.getEnum() returns null, and switch will report a null pointer 
exception
   
   ## Brief change log
   
   1.TaskParametersUtils  switch tasktype param is not null
   1.TaskManager switch tasktype  param is not null
   
   ## Verify this pull request
   
   This pull request is already covered by existing tests, such as *(please 
describe tests)*.
   
   TaskParametersUtilsTest
   TaskManagerTest
   


----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to