#1467 Try to clean up abstract message file handler hierarchy

- Move some handling with the default file configuration down to the help message file handler since it is the only one with such a behavior now
This commit is contained in:
ljacqu
2018-01-25 21:48:48 +01:00
parent 820e443b81
commit 1eaf321575
5 changed files with 61 additions and 76 deletions
@@ -10,9 +10,6 @@ import javax.inject.Inject;
*/
public class MessagesFileHandler extends AbstractMessageFileHandler {
// TODO #1467: With the migration the messages handler has become so different that it would be worth
// to remove the extension and extract common features into a helper class instead
@Inject
private MessageUpdater messageUpdater;
@@ -43,9 +40,4 @@ public class MessagesFileHandler extends AbstractMessageFileHandler {
protected String createFilePath(String language) {
return "messages/messages_" + language + ".yml";
}
@Override
protected String getUpdateCommand() {
return "/authme messages";
}
}