From 97624621aea44cb631297178a71db035043e4c67 Mon Sep 17 00:00:00 2001 From: Louis Vallat Date: Tue, 23 Apr 2019 12:01:44 +0200 Subject: [PATCH] Update RedditPost.java updated newScore type from int to double --- .../twitter_techsupportgore_bot/reddit_handler/RedditPost.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/twitter_techsupportgore_bot/src/twitter_techsupportgore_bot/reddit_handler/RedditPost.java b/twitter_techsupportgore_bot/src/twitter_techsupportgore_bot/reddit_handler/RedditPost.java index 9524704..2a33842 100644 --- a/twitter_techsupportgore_bot/src/twitter_techsupportgore_bot/reddit_handler/RedditPost.java +++ b/twitter_techsupportgore_bot/src/twitter_techsupportgore_bot/reddit_handler/RedditPost.java @@ -135,7 +135,7 @@ public abstract class RedditPost { * Update post's score. * @param newScore the new score. */ - public void updateScore(int newScore) { + public void updateScore(double newScore) { this.score = newScore; }