[virtualcommons-svn] commit/irrigation: alllee: fixes issue 21
Status: Beta
Brought to you by:
alllee
From: Bitbucket <com...@bi...> - 2012-03-27 17:16:42
|
1 new commit in irrigation: https://bitbucket.org/virtualcommons/irrigation/changeset/4e044b944d4a/ changeset: 4e044b944d4a branch: stable user: alllee date: 2012-03-27 19:16:23 summary: fixes issue 21 stupid off-by-one error affected #: 1 file diff -r 470fdcaacb7ffaf974c9849a6172136b8ed836ba -r 4e044b944d4a03c4b0089891fa10b18b76fe69d0 src/main/java/edu/asu/commons/irrigation/events/QuizResponseEvent.java --- a/src/main/java/edu/asu/commons/irrigation/events/QuizResponseEvent.java +++ b/src/main/java/edu/asu/commons/irrigation/events/QuizResponseEvent.java @@ -44,6 +44,6 @@ } public int getNumberOfCorrectQuizAnswers() { - return responses.size() - 1 - getIncorrectAnswers().size(); + return responses.size() - getIncorrectAnswers().size(); } } Repository URL: https://bitbucket.org/virtualcommons/irrigation/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email. |