Skip to content

Commit

Permalink
[ISSUE #4354] Fix spelling mistake (#4353)
Browse files Browse the repository at this point in the history
  • Loading branch information
iwangjie authored Aug 13, 2023
1 parent a350ffc commit dbfb571
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public class MessageUtils {

public static Package hello(UserAgent user) {
Package msg = new Package();
msg.setHeader(new Header(Command.HELLO_REQUEST, 0, "sucess", generateRandomString(seqLength)));
msg.setHeader(new Header(Command.HELLO_REQUEST, 0, "success", generateRandomString(seqLength)));
msg.setBody(user);
return msg;
}
Expand Down Expand Up @@ -230,7 +230,7 @@ public static String generateRandomString(int length) {

public static Package askRecommend(UserAgent user) {
Package msg = new Package();
msg.setHeader(new Header(Command.RECOMMEND_REQUEST, 0, "sucess", generateRandomString(seqLength)));
msg.setHeader(new Header(Command.RECOMMEND_REQUEST, 0, "success", generateRandomString(seqLength)));
msg.setBody(user);
return msg;
}
Expand Down

0 comments on commit dbfb571

Please sign in to comment.