Remove Gist
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package de.jeyp91.tippliga;
|
||||
|
||||
import java.text.ParseException;
|
||||
import de.jeyp91.tippligaforum.TippligaSQLConnector;
|
||||
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Comparator;
|
||||
@@ -14,11 +15,11 @@ public class TLWMatchdaysUpdater {
|
||||
ArrayList<TLWMatchday> matchdaysUpdated;
|
||||
String beautifulInfo = "";
|
||||
|
||||
public TLWMatchdaysUpdater(int season, int league, String configPath) throws ParseException {
|
||||
public TLWMatchdaysUpdater(int season, int league, String configPath) {
|
||||
this.season = season;
|
||||
this.league = league;
|
||||
|
||||
TippligaSQLConnector conn = new TippligaSQLConnector();
|
||||
TippligaSQLConnector conn = TippligaSQLConnector.getInstance();
|
||||
this.matchdaysOriginal = conn.getMatchdays(String.valueOf(season), String.valueOf(league));
|
||||
this.matchdaysOriginal.sort(Comparator.comparing(TLWMatchday::getMatchday));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user