diff --git a/src/org/april/hebdobot/bot/stats/ReviewStatsReporter.java b/src/org/april/hebdobot/bot/stats/ReviewStatsReporter.java index f7586ec..983d63f 100644 --- a/src/org/april/hebdobot/bot/stats/ReviewStatsReporter.java +++ b/src/org/april/hebdobot/bot/stats/ReviewStatsReporter.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2017-2019 Christian Pierre MOMON + * Copyright (C) 2017-2021 Christian Pierre MOMON * * This file is part of (April) Hebdobot. * @@ -102,7 +102,7 @@ public class ReviewStatsReporter { double result; - result = percent(new Double(a).doubleValue(), new Double(b).doubleValue()); + result = percent(Double.valueOf(a).doubleValue(), Double.valueOf(b).doubleValue()); // return result; diff --git a/src/org/april/hebdobot/privatebin/PrivatebinClient.java b/src/org/april/hebdobot/privatebin/PrivatebinClient.java index 63de9dd..b150de9 100644 --- a/src/org/april/hebdobot/privatebin/PrivatebinClient.java +++ b/src/org/april/hebdobot/privatebin/PrivatebinClient.java @@ -66,8 +66,8 @@ public class PrivatebinClient extends PrivatebinSettings /** * Instantiates a new privatebin client. * - * @param serverUrl - * the server url + * @param settings + * the settings */ public PrivatebinClient(final PrivatebinSettings settings) { @@ -91,8 +91,6 @@ public class PrivatebinClient extends PrivatebinSettings * * @param text * the text - * @param settings - * the settings * @return the string * @throws PrivatebinException * the privatebin exception