-
Notifications
You must be signed in to change notification settings - Fork 0
Conversation
app/src/main/java/com/github/sdp/mediato/data/ReviewInteractionDatabase.java
Outdated
Show resolved
Hide resolved
Code Climate has analyzed commit 1bf288a and detected 2 issues on this pull request. Here's the issue category breakdown:
The test coverage on the diff in this pull request is 95.4% (80% is the threshold). This pull request will bring the total coverage in the repository to 82.3% (0.0% change). View more on Code Climate. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, clean, well documented and tested. Just one question.
* @param tarUsername the username of the user who made the review | ||
* @param comment the comment | ||
*/ | ||
public static void commentReview(String tarUsername, Comment comment) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does tarUsername
mean?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Target username. As specified in the java doc, it's the username of the user that made the review which is being commented (as opposed to refUsername - reference username which is the user that is currently logged in). The terminology is used in other database methods.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
No description provided.