You are doing a bug debug related to the Flowe Rating rating /books/{id}/summary The closing point you leave a breakpoint BookService.getAverageRating(String)Step through the code, and inspect the list of reviews in View of variables. Everything looks fine… unless you find suspicious entry, a review for the same user added more than once. You pause and think: “Hmmm … maybe these duplicate entries may have caused this problem. Will I use a set instead of a list?” So, you try to know where it is reviews The variable has been announced. And at the same time when it hit you, the code doesn’t decrease at all!

1. Go to the variable declaration – “Which is the variable? I have already seen this name 5 times ..”

The lunar eclipse Java Debger variable declaration

Categories: Weight Loss

0 Comments

Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *