Made code review.

This commit is contained in:
Christian P. MOMON 2021-04-09 01:14:19 +02:00
parent c4e904a7a9
commit 9e2743368b
2 changed files with 4 additions and 6 deletions

View File

@ -1,5 +1,5 @@
/**
* Copyright (C) 2017-2019 Christian Pierre MOMON <cmomon@april.org>
* Copyright (C) 2017-2021 Christian Pierre MOMON <cmomon@april.org>
*
* 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;

View File

@ -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