diff options
author | Kjetil Ørbekk <orbekk@pvv.ntnu.no> | 2010-09-04 11:17:30 -0400 |
---|---|---|
committer | Kjetil Ørbekk <orbekk@pvv.ntnu.no> | 2010-09-04 11:17:30 -0400 |
commit | 6c9d6a863f0db5fa9da5bb841a8bc3024bd11f77 (patch) | |
tree | 72e0af3b78dc70a0d409958cdc9ed4a1a475dfd8 /src/lq/Quote.java | |
parent | a75305bf103568af904028d0bc63e35056f9bc9c (diff) |
Print header in ViewQuote
Diffstat (limited to 'src/lq/Quote.java')
-rw-r--r-- | src/lq/Quote.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lq/Quote.java b/src/lq/Quote.java index 9d399fb..237f002 100644 --- a/src/lq/Quote.java +++ b/src/lq/Quote.java @@ -40,8 +40,8 @@ public class Quote { @Persistent private Integer numVotes; + // sum [ (rating-2.5) * abs(rating-2.5) | rating <- votes ] @Persistent - // sum [ (rating-3) * abs((rating-3)) | rating <- votes ] private Double scorePoints; public Quote(Date quoteDate, String author, String content, String ip) { |