Skip to content
This repository has been archived by the owner on Feb 1, 2025. It is now read-only.

Commenting system logic #199

Merged
merged 4 commits into from
May 20, 2023
Merged

Commenting system logic #199

merged 4 commits into from
May 20, 2023

Conversation

MariemBaccari
Copy link
Contributor

No description provided.

@codeclimate
Copy link

codeclimate bot commented May 20, 2023

Code Climate has analyzed commit 1bf288a and detected 2 issues on this pull request.

Here's the issue category breakdown:

Category Count
Duplication 2

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.

@MariemBaccari MariemBaccari marked this pull request as ready for review May 20, 2023 18:32
Copy link
Contributor

@simone-kalbermatter simone-kalbermatter left a 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) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does tarUsername mean?

Copy link
Contributor Author

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.

Copy link
Contributor

@simone-kalbermatter simone-kalbermatter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@MariemBaccari MariemBaccari merged commit c92bdd0 into main May 20, 2023
@MariemBaccari MariemBaccari deleted the commenting_system_logic branch May 20, 2023 19:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants