Made code review.
This commit is contained in:
parent
c4e904a7a9
commit
9e2743368b
2 changed files with 4 additions and 6 deletions
|
@ -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.
|
* This file is part of (April) Hebdobot.
|
||||||
*
|
*
|
||||||
|
@ -102,7 +102,7 @@ public class ReviewStatsReporter
|
||||||
{
|
{
|
||||||
double result;
|
double result;
|
||||||
|
|
||||||
result = percent(new Double(a).doubleValue(), new Double(b).doubleValue());
|
result = percent(Double.valueOf(a).doubleValue(), Double.valueOf(b).doubleValue());
|
||||||
|
|
||||||
//
|
//
|
||||||
return result;
|
return result;
|
||||||
|
|
|
@ -66,8 +66,8 @@ public class PrivatebinClient extends PrivatebinSettings
|
||||||
/**
|
/**
|
||||||
* Instantiates a new privatebin client.
|
* Instantiates a new privatebin client.
|
||||||
*
|
*
|
||||||
* @param serverUrl
|
* @param settings
|
||||||
* the server url
|
* the settings
|
||||||
*/
|
*/
|
||||||
public PrivatebinClient(final PrivatebinSettings settings)
|
public PrivatebinClient(final PrivatebinSettings settings)
|
||||||
{
|
{
|
||||||
|
@ -91,8 +91,6 @@ public class PrivatebinClient extends PrivatebinSettings
|
||||||
*
|
*
|
||||||
* @param text
|
* @param text
|
||||||
* the text
|
* the text
|
||||||
* @param settings
|
|
||||||
* the settings
|
|
||||||
* @return the string
|
* @return the string
|
||||||
* @throws PrivatebinException
|
* @throws PrivatebinException
|
||||||
* the privatebin exception
|
* the privatebin exception
|
||||||
|
|
Loading…
Reference in a new issue