处理部分 SonarQube 问题

This commit is contained in:
juntao
2022-01-07 11:58:20 +08:00
parent f45f29aa43
commit dab2d40ba4
7 changed files with 17 additions and 34 deletions

View File

@ -190,7 +190,7 @@ public class CommentUtils {
e.printStackTrace();
}
PostCommentUtils.addReportData(context, commentEntity.getId(), jsonObject.toString(),
PostCommentUtils.addReportData(commentEntity.getId(), jsonObject.toString(),
new PostCommentUtils.PostCommentListener() {
@Override
public void postSuccess(JSONObject response) {
@ -225,7 +225,7 @@ public class CommentUtils {
commentLikeCountTv.setText(NumberUtils.transSimpleCount(commentEntity.getVote()));
commentLikeCountTv.setVisibility(View.VISIBLE);
PostCommentUtils.addCommentVote(context, commentEntity.getId(),
PostCommentUtils.addCommentVote(commentEntity.getId(),
new PostCommentUtils.PostCommentListener() {
@Override
public void postSuccess(JSONObject response) {