Made code review.
This commit is contained in:
parent
c4e904a7a9
commit
9e2743368b
@ -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;
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user