Rename model package as bot.
This commit is contained in:
parent
bca2565ea9
commit
1524774eb7
2
CHANGES
2
CHANGES
@ -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
|
@ -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;
|
@ -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;
|
@ -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;
|
@ -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;
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
@ -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.
|
@ -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;
|
||||
|
@ -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.
|
@ -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;
|
||||
|
@ -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;
|
@ -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;
|
||||
|
@ -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;
|
@ -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;
|
@ -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;
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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.
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user