Browse Source

Improvement: improve Pong.java mistake (#7822)

xuhhui 3 years ago
parent
commit
0cfb2043cf

+ 3 - 3
dolphinscheduler-remote/src/main/java/org/apache/dolphinscheduler/remote/command/Pong.java

@@ -38,7 +38,7 @@ public class Pong implements Serializable {
     private static final byte[] EMPTY_BODY_ARRAY = new byte[0];
 
     /**
-     *  ping byte buffer
+     *  pong byte buffer
      */
     private static final ByteBuf PONG_BUF;
 
@@ -53,10 +53,10 @@ public class Pong implements Serializable {
     }
 
     /**
-     *  ping content
+     *  pong content
      * @return result
      */
-    public static ByteBuf pingContent(){
+    public static ByteBuf pongContent(){
         return PONG_BUF.duplicate();
     }