Rename model package as bot.

This commit is contained in:
Christian P. MOMON 2018-09-20 18:25:29 +02:00
parent bca2565ea9
commit 1524774eb7
25 changed files with 41 additions and 41 deletions

View File

@ -32,5 +32,5 @@ Le 08/01/2018 à 01:07, aeris a écrit :
* change Java version to 1.8
* anonymized Twitter API key
* eplaced Maven with Ant
* replaced Maven with Ant
* no more code injection

View File

@ -17,7 +17,7 @@
* You should have received a copy of the GNU Affero General Public License
* along with Hebdobot. If not, see <http://www.gnu.org/licenses/>
*/
package org.april.hebdobot.model;
package org.april.hebdobot.bot;
import java.io.File;
import java.io.IOException;
@ -33,18 +33,18 @@ import org.apache.commons.collections.CollectionUtils;
import org.apache.commons.io.FileUtils;
import org.apache.commons.lang3.StringUtils;
import org.april.hebdobot.HebdobotException;
import org.april.hebdobot.bot.review.CollectiveTopic;
import org.april.hebdobot.bot.review.IndividualTopic;
import org.april.hebdobot.bot.review.Message;
import org.april.hebdobot.bot.review.Review;
import org.april.hebdobot.bot.review.Topic;
import org.april.hebdobot.bot.stats.ReviewData;
import org.april.hebdobot.bot.stats.ReviewDatas;
import org.april.hebdobot.bot.stats.ReviewDatasFile;
import org.april.hebdobot.bot.stats.ReviewStatsReporter;
import org.april.hebdobot.cron.CronManager;
import org.april.hebdobot.cron.CronSettings;
import org.april.hebdobot.identica.IdenticaSettings;
import org.april.hebdobot.model.review.CollectiveTopic;
import org.april.hebdobot.model.review.IndividualTopic;
import org.april.hebdobot.model.review.Message;
import org.april.hebdobot.model.review.Review;
import org.april.hebdobot.model.review.Topic;
import org.april.hebdobot.model.stats.ReviewData;
import org.april.hebdobot.model.stats.ReviewDatas;
import org.april.hebdobot.model.stats.ReviewDatasFile;
import org.april.hebdobot.model.stats.ReviewStatsReporter;
import org.april.hebdobot.pastebin.PastebinClient;
import org.april.hebdobot.pastebin.PastebinSettings;
import org.april.hebdobot.pastebin.Private;

View File

@ -17,7 +17,7 @@
* You should have received a copy of the GNU Affero General Public License
* along with Hebdobot. If not, see <http://www.gnu.org/licenses/>
*/
package org.april.hebdobot.model;
package org.april.hebdobot.bot;
import java.io.File;
import java.io.FileNotFoundException;

View File

@ -17,7 +17,7 @@
* You should have received a copy of the GNU Affero General Public License
* along with Hebdobot. If not, see <http://www.gnu.org/licenses/>
*/
package org.april.hebdobot.model.review;
package org.april.hebdobot.bot.review;
import java.util.HashSet;
import java.util.List;

View File

@ -17,7 +17,7 @@
* You should have received a copy of the GNU Affero General Public License
* along with Hebdobot. If not, see <http://www.gnu.org/licenses/>
*/
package org.april.hebdobot.model.review;
package org.april.hebdobot.bot.review;
import java.util.HashMap;
import java.util.Map;

View File

@ -17,7 +17,7 @@
* You should have received a copy of the GNU Affero General Public License
* along with Hebdobot. If not, see <http://www.gnu.org/licenses/>
*/
package org.april.hebdobot.model.review;
package org.april.hebdobot.bot.review;
import java.time.LocalDateTime;

View File

@ -16,7 +16,7 @@
* You should have received a copy of the GNU Affero General Public License
* along with Hebdobot. If not, see <http://www.gnu.org/licenses/>
*/
package org.april.hebdobot.model.review;
package org.april.hebdobot.bot.review;
import java.util.ArrayList;

View File

@ -16,7 +16,7 @@
* You should have received a copy of the GNU Affero General Public License
* along with Hebdobot. If not, see <http://www.gnu.org/licenses/>
*/
package org.april.hebdobot.model.review;
package org.april.hebdobot.bot.review;
import java.util.LinkedList;

View File

@ -17,7 +17,7 @@
* You should have received a copy of the GNU Affero General Public License
* along with Hebdobot. If not, see <http://www.gnu.org/licenses/>
*/
package org.april.hebdobot.model.review;
package org.april.hebdobot.bot.review;
import java.time.Duration;
import java.time.LocalDateTime;
@ -29,7 +29,7 @@ import java.util.List;
import java.util.Locale;
import org.apache.commons.lang3.StringUtils;
import org.april.hebdobot.model.UserAliases;
import org.april.hebdobot.bot.UserAliases;
import fr.devinsy.strings.StringSet;

View File

@ -17,7 +17,7 @@
* You should have received a copy of the GNU Affero General Public License
* along with Hebdobot. If not, see <http://www.gnu.org/licenses/>
*/
package org.april.hebdobot.model.review;
package org.april.hebdobot.bot.review;
import java.util.Set;

View File

@ -16,7 +16,7 @@
* You should have received a copy of the GNU Affero General Public License
* along with Hebdobot. If not, see <http://www.gnu.org/licenses/>
*/
package org.april.hebdobot.model.stats;
package org.april.hebdobot.bot.stats;
import java.util.Collections;
import java.util.HashMap;

View File

@ -16,7 +16,7 @@
* You should have received a copy of the GNU Affero General Public License
* along with Hebdobot. If not, see <http://www.gnu.org/licenses/>
*/
package org.april.hebdobot.model.stats;
package org.april.hebdobot.bot.stats;
/**
* The Class Stat.

View File

@ -16,7 +16,7 @@
* You should have received a copy of the GNU Affero General Public License
* along with Hebdobot. If not, see <http://www.gnu.org/licenses/>
*/
package org.april.hebdobot.model.stats;
package org.april.hebdobot.bot.stats;
import java.util.Comparator;

View File

@ -16,12 +16,12 @@
* You should have received a copy of the GNU Affero General Public License
* along with Hebdobot. If not, see <http://www.gnu.org/licenses/>
*/
package org.april.hebdobot.model.stats;
package org.april.hebdobot.bot.stats;
import java.util.ArrayList;
import java.util.Collections;
import org.april.hebdobot.model.stats.IntegerStatComparator.Sorting;
import org.april.hebdobot.bot.stats.IntegerStatComparator.Sorting;
/**
* The Class Stats.

View File

@ -16,7 +16,7 @@
* You should have received a copy of the GNU Affero General Public License
* along with Hebdobot. If not, see <http://www.gnu.org/licenses/>
*/
package org.april.hebdobot.model.stats;
package org.april.hebdobot.bot.stats;
import java.time.LocalDateTime;

View File

@ -16,7 +16,7 @@
* You should have received a copy of the GNU Affero General Public License
* along with Hebdobot. If not, see <http://www.gnu.org/licenses/>
*/
package org.april.hebdobot.model.stats;
package org.april.hebdobot.bot.stats;
import java.time.LocalDateTime;
import java.util.Comparator;

View File

@ -16,13 +16,13 @@
* You should have received a copy of the GNU Affero General Public License
* along with Hebdobot. If not, see <http://www.gnu.org/licenses/>
*/
package org.april.hebdobot.model.stats;
package org.april.hebdobot.bot.stats;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Iterator;
import org.april.hebdobot.model.stats.ReviewDataComparator.Sorting;
import org.april.hebdobot.bot.stats.ReviewDataComparator.Sorting;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

View File

@ -16,7 +16,7 @@
* You should have received a copy of the GNU Affero General Public License
* along with Hebdobot. If not, see <http://www.gnu.org/licenses/>
*/
package org.april.hebdobot.model.stats;
package org.april.hebdobot.bot.stats;
import java.io.BufferedReader;
import java.io.File;

View File

@ -16,7 +16,7 @@
* You should have received a copy of the GNU Affero General Public License
* along with Hebdobot. If not, see <http://www.gnu.org/licenses/>
*/
package org.april.hebdobot.model.stats;
package org.april.hebdobot.bot.stats;
import java.time.format.DateTimeFormatter;
import java.util.Locale;

View File

@ -16,7 +16,7 @@
* You should have received a copy of the GNU Affero General Public License
* along with Hebdobot. If not, see <http://www.gnu.org/licenses/>
*/
package org.april.hebdobot.model.stats;
package org.april.hebdobot.bot.stats;
import java.util.ArrayList;
import java.util.Collections;

View File

@ -31,8 +31,8 @@ import org.apache.commons.lang3.StringUtils;
import org.apache.log4j.BasicConfigurator;
import org.apache.log4j.PropertyConfigurator;
import org.april.hebdobot.HebdobotException;
import org.april.hebdobot.model.Hebdobot;
import org.april.hebdobot.model.UserAliases;
import org.april.hebdobot.bot.Hebdobot;
import org.april.hebdobot.bot.UserAliases;
import org.april.hebdobot.util.BuildInformation;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

View File

@ -20,7 +20,7 @@
package org.april.hebdobot.cron;
import org.apache.commons.lang3.StringUtils;
import org.april.hebdobot.model.Hebdobot;
import org.april.hebdobot.bot.Hebdobot;
import org.quartz.JobExecutionContext;
import org.quartz.Trigger;
import org.quartz.Trigger.CompletedExecutionInstruction;

View File

@ -19,7 +19,7 @@
*/
package org.april.hebdobot.cron;
import org.april.hebdobot.model.Hebdobot;
import org.april.hebdobot.bot.Hebdobot;
import org.quartz.CronScheduleBuilder;
import org.quartz.JobBuilder;
import org.quartz.JobDetail;

View File

@ -21,7 +21,7 @@ package org.april.hebdobot;
import java.io.File;
import org.april.hebdobot.model.Hebdobot;
import org.april.hebdobot.bot.Hebdobot;
/**
* The Class BotMock.

View File

@ -23,10 +23,10 @@ import java.time.LocalDateTime;
import org.apache.commons.lang3.StringUtils;
import org.apache.log4j.BasicConfigurator;
import org.april.hebdobot.model.stats.ReviewData;
import org.april.hebdobot.model.stats.ReviewDatas;
import org.april.hebdobot.model.stats.ReviewDatasFile;
import org.april.hebdobot.model.stats.ReviewStatsReporter;
import org.april.hebdobot.bot.stats.ReviewData;
import org.april.hebdobot.bot.stats.ReviewDatas;
import org.april.hebdobot.bot.stats.ReviewDatasFile;
import org.april.hebdobot.bot.stats.ReviewStatsReporter;
import org.junit.Assert;
import org.junit.BeforeClass;
import org.junit.Test;