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. * This file is part of (April) Hebdobot.
* *
@ -72,10 +72,11 @@ public class HookManager
* the login * the login
* @param hostname * @param hostname
* the hostname * the hostname
* @param text * @param message
* the text * the message
* @return true, if successful * @return true, if successful
* @throws HebdobotException * @throws HebdobotException
* the hebdobot exception
*/ */
public boolean attemptProcess(final Hebdobot bot, final String channel, final String sender, final String login, final String hostname, public boolean attemptProcess(final Hebdobot bot, final String channel, final String sender, final String login, final String hostname,
final String message) throws HebdobotException final String message) throws HebdobotException

View File

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

View File

@ -311,8 +311,6 @@ public class ReviewStatsReporter
* *
* @param datas * @param datas
* the datas * the datas
* @param currentUserCount
* the current user count
* @return the string * @return the string
*/ */
public static String reportUserCountRecord(final ReviewDatas datas) public static String reportUserCountRecord(final ReviewDatas datas)

View File

@ -52,6 +52,7 @@ public class CronManager
* @throws SchedulerException * @throws SchedulerException
* the scheduler exception * the scheduler exception
* @throws ParseException * @throws ParseException
* the parse exception
*/ */
public CronManager(final Hebdobot bot, final CronSettings crons) throws SchedulerException, ParseException public CronManager(final Hebdobot bot, final CronSettings crons) throws SchedulerException, ParseException
{ {
@ -74,6 +75,7 @@ public class CronManager
* @throws SchedulerException * @throws SchedulerException
* the scheduler exception * the scheduler exception
* @throws ParseException * @throws ParseException
* the parse exception
*/ */
public void addCron(final CronValue cron) throws SchedulerException, ParseException public void addCron(final CronValue cron) throws SchedulerException, ParseException
{ {