Browse Source

Improvement: improve Pong.java mistake (#7822)

3.0.0/version-upgrade
xuhhui 2 years ago committed by GitHub
parent
commit
0cfb2043cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      dolphinscheduler-remote/src/main/java/org/apache/dolphinscheduler/remote/command/Pong.java

6
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();
}

Loading…
Cancel
Save