Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
MilderJoghurt
rlf-server
Commits
44f60200
Commit
44f60200
authored
Jun 29, 2015
by
Fjen Undso
Browse files
VoteController: fix ALL VoteStat
parent
06506f3e
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/controllers/VoteController.java
View file @
44f60200
...
...
@@ -166,7 +166,7 @@ public class VoteController extends Controller {
sUnderstandability
.
value
=
100
;
}
// overall rating: arithmetic mean of votes
if
(
20
<
sSpeed
.
value
||
sSpeed
.
value
>
80
||
sUnderstandability
.
value
<
20
)
{
if
(
sSpeed
.
value
<
20
||
sSpeed
.
value
>
80
||
sUnderstandability
.
value
<
20
)
{
// give negative overall rating, is one value is very bad
sAll
.
value
=
0
;
}
else
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment