Skip to content

Ratings - #7

Open
RSV2016 wants to merge 7 commits into
masterfrom
ratings
Open

Ratings#7
RSV2016 wants to merge 7 commits into
masterfrom
ratings

Conversation

@RSV2016

@RSV2016 RSV2016 commented Jun 6, 2016

Copy link
Copy Markdown
Collaborator

No description provided.

@oleksandrm-in6k

oleksandrm-in6k commented Jun 7, 2016

Copy link
Copy Markdown

What is the difference between commits Add Rating link and Add rating-list?
What is UserRatingTdo?
What does commit Other mean?

@FreeFly19

Copy link
Copy Markdown
Member

It has conflicts, before create a new Pull request, you need to merge changes from master in your branch, to be sure, that your changes haven't conflicts.

if(!user.getGradeSet().isEmpty()){
userWithRating.setRating(rating / user.getGradeSet().size());
}
else {

@FreeFly19 FreeFly19 Jun 7, 2016

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think there is no need to initialize user rating by zero if a user doesn't has grades

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants