Made code review.
This commit is contained in:
parent
cf090c021e
commit
ddddfd55bc
@ -1,5 +1,5 @@
|
||||
/**
|
||||
* Copyright (C) 2018 Christian Pierre MOMON <cmomon@april.org>
|
||||
* Copyright (C) 2018-2019 Christian Pierre MOMON <cmomon@april.org>
|
||||
*
|
||||
* This file is part of (April) Hebdobot.
|
||||
*
|
||||
@ -72,10 +72,11 @@ public class HookManager
|
||||
* the login
|
||||
* @param hostname
|
||||
* the hostname
|
||||
* @param text
|
||||
* the text
|
||||
* @param message
|
||||
* the message
|
||||
* @return true, if successful
|
||||
* @throws HebdobotException
|
||||
* the hebdobot exception
|
||||
*/
|
||||
public boolean attemptProcess(final Hebdobot bot, final String channel, final String sender, final String login, final String hostname,
|
||||
final String message) throws HebdobotException
|
||||
|
@ -281,6 +281,8 @@ public class ReviewDatas extends ArrayList<ReviewData>
|
||||
|
||||
/**
|
||||
* Removes the last.
|
||||
*
|
||||
* @return the review datas
|
||||
*/
|
||||
public ReviewDatas removeLast()
|
||||
{
|
||||
|
@ -311,8 +311,6 @@ public class ReviewStatsReporter
|
||||
*
|
||||
* @param datas
|
||||
* the datas
|
||||
* @param currentUserCount
|
||||
* the current user count
|
||||
* @return the string
|
||||
*/
|
||||
public static String reportUserCountRecord(final ReviewDatas datas)
|
||||
|
@ -52,6 +52,7 @@ public class CronManager
|
||||
* @throws SchedulerException
|
||||
* the scheduler exception
|
||||
* @throws ParseException
|
||||
* the parse exception
|
||||
*/
|
||||
public CronManager(final Hebdobot bot, final CronSettings crons) throws SchedulerException, ParseException
|
||||
{
|
||||
@ -74,6 +75,7 @@ public class CronManager
|
||||
* @throws SchedulerException
|
||||
* the scheduler exception
|
||||
* @throws ParseException
|
||||
* the parse exception
|
||||
*/
|
||||
public void addCron(final CronValue cron) throws SchedulerException, ParseException
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user