Made code review.

This commit is contained in:
Christian P. MOMON 2019-05-03 12:38:26 +02:00
parent cf090c021e
commit ddddfd55bc
4 changed files with 8 additions and 5 deletions

View File

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

View File

@ -281,6 +281,8 @@ public class ReviewDatas extends ArrayList<ReviewData>
/**
* Removes the last.
*
* @return the review datas
*/
public ReviewDatas removeLast()
{

View File

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

View File

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