Lombokize FileRating

This commit is contained in:
johni0702
2015-06-29 22:01:23 +02:00
parent a058497727
commit 586a9dbe1c
2 changed files with 3 additions and 12 deletions

View File

@@ -39,7 +39,7 @@ public class RatedFileHandler {
rated = new HashMap<Integer, Boolean>();
for(FileRating fr : ratings) {
rated.put(fr.getFileID(), fr.getRating());
rated.put(fr.getFile(), fr.isRatingPositive());
}
retrieved = true;