处理部分 SonarQube 问题
This commit is contained in:
@ -73,7 +73,7 @@ public class PostCommentUtils {
|
||||
});
|
||||
}
|
||||
|
||||
public static void addAnswerComment(final Context context, final String answerId, final String articleId,
|
||||
public static void addAnswerComment(final String answerId, final String articleId,
|
||||
final String articleCommunityId, final String content,
|
||||
final CommentEntity commentEntity,
|
||||
final PostCommentListener listener) {
|
||||
@ -151,7 +151,7 @@ public class PostCommentUtils {
|
||||
});
|
||||
}
|
||||
|
||||
public static void addCommentVote(final Context context, final String commentId,
|
||||
public static void addCommentVote(final String commentId,
|
||||
final PostCommentListener listener) {
|
||||
RetrofitManager.getInstance().getApi()
|
||||
.postCommentVote(commentId)
|
||||
@ -174,7 +174,7 @@ public class PostCommentUtils {
|
||||
});
|
||||
}
|
||||
|
||||
public static void addReportData(final Context context, final String commentId, final String reportData,
|
||||
public static void addReportData(final String commentId, final String reportData,
|
||||
final PostCommentListener listener) {
|
||||
RequestBody body = RequestBody.create(MediaType.parse("application/json"), reportData);
|
||||
RetrofitManager.getInstance().getApi()
|
||||
|
||||
Reference in New Issue
Block a user