fix: 处理部分 SonarQube 问题

This commit is contained in:
chenjuntao
2022-08-02 16:22:45 +08:00
parent c8cd753022
commit 9c11f7f70e
13 changed files with 75 additions and 132 deletions

View File

@ -298,7 +298,7 @@ public class CommentUtils {
commentLikeCountTv.setText(NumberUtils.transSimpleCount(commentEntity.getVote()));
commentLikeCountTv.setVisibility(View.VISIBLE);
PostCommentUtils.likeComment(answerId, articleId, articleCommunityId, videoId, questionId, commentEntity.getId(),
PostCommentUtils.likeComment(answerId, articleId, videoId, questionId, commentEntity.getId(),
new PostCommentUtils.PostCommentListener() {
@Override
public void postSuccess(JSONObject response) {
@ -352,7 +352,7 @@ public class CommentUtils {
String entrance = "视频流-评论-点赞";
CheckLoginUtils.checkLogin(context, entrance, () -> {
PostCommentUtils.likeComment(answerId, articleId, articleCommunityId, videoId, "", commentEntity.getId(),
PostCommentUtils.likeComment(answerId, articleId, videoId, "", commentEntity.getId(),
new PostCommentUtils.PostCommentListener() {
@Override
public void postSuccess(JSONObject response) {