Remove Gist
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
package de.jeyp91;
|
||||
import de.jeyp91.apifootball.APIFootballUpdater;
|
||||
import de.jeyp91.gists.MatchesListGistUpdater;
|
||||
import de.jeyp91.tippligaforum.MatchesListForumUpdater;
|
||||
import de.jeyp91.tippliga.*;
|
||||
import de.jeyp91.tippligaforum.TippligaSQLConnector;
|
||||
import net.sourceforge.argparse4j.ArgumentParsers;
|
||||
import net.sourceforge.argparse4j.inf.ArgumentParser;
|
||||
import net.sourceforge.argparse4j.inf.ArgumentParserException;
|
||||
@@ -48,18 +49,18 @@ public class App {
|
||||
sql = teamsUpdater.getInsertSQL();
|
||||
break;
|
||||
case "APIFootballUpdater":
|
||||
APIFootballUpdater apiFootballUpdater = new APIFootballUpdater(season);
|
||||
APIFootballUpdater apiFootballUpdater = new APIFootballUpdater();
|
||||
apiFootballUpdater.updateAllFixtures();
|
||||
break;
|
||||
case "MatchesListGistUpdater":
|
||||
MatchesListGistUpdater matchesListGistUpdater = new MatchesListGistUpdater();
|
||||
matchesListGistUpdater.updateAllLeagues();
|
||||
MatchesListForumUpdater matchesListForumUpdater = new MatchesListForumUpdater();
|
||||
matchesListForumUpdater.updateAllLeagues();
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
if(!StatusHolder.getError() && !sql.equals("")) {
|
||||
TippligaSQLConnector con = new TippligaSQLConnector();
|
||||
TippligaSQLConnector con = TippligaSQLConnector.getInstance();
|
||||
con.executeUpdate(sql);
|
||||
logger.info(beautifulInfo);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user