Unverified Commit 9bf67d80 authored by zixi0825's avatar zixi0825 Committed by GitHub
Browse files

Revise annotation spelling errors & Enhanced code robustness (#3042)



* revise annotation spelling errors & enhanced code robustness

* revise annotation spelling errors & enhanced code robustness

Co-authored-by: default avatarsunchaohe <sunzhaohe@linklogis.com>
Co-authored-by: default avatardailidong <dailidong66@gmail.com>
Co-authored-by: default avatarqiaozhanwei <qiaozhanwei@outlook.com>
parent 8213da50
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -115,7 +115,7 @@ public class CheckUtils {
   *
   * @param parameter parameter
   * @param taskType task type
   * @return true if taks node parameters are valid, otherwise return false
   * @return true if task node parameters are valid, otherwise return false
   */
  public static boolean checkTaskNodeParameters(String parameter, String taskType) {
    AbstractParameters abstractParameters = TaskParametersUtils.getParameters(taskType, parameter);
+1 −1
Original line number Diff line number Diff line
@@ -34,7 +34,7 @@ public class TaskInfo implements Serializable{


    /**
     *  taks name
     *  task name
     */
    private String taskName;

+1 −1
Original line number Diff line number Diff line
@@ -39,7 +39,7 @@ public class TaskExecutionContext implements Serializable{


    /**
     *  taks name
     *  task name
     */
    private String taskName;

+1 −1
Original line number Diff line number Diff line
@@ -34,7 +34,7 @@ public class NettyRemoteChannel {
    private final Channel channel;

    /**
     *  equest unique identification
     *  request unique identification
     */
    private final long opaque;

+1 −4
Original line number Diff line number Diff line
@@ -17,7 +17,6 @@

package org.apache.dolphinscheduler.server.worker.processor;


import io.netty.channel.Channel;
import io.netty.channel.ChannelFuture;
import io.netty.channel.ChannelFutureListener;
@@ -33,14 +32,12 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;

import static org.apache.dolphinscheduler.common.Constants.SLEEP_TIME_MILLIS;

/**
 *  taks callback service
 *  task callback service
 */
@Service
public class TaskCallbackService {
Loading