Log updates
This commit is contained in:
parent
9dc2c7d9d0
commit
2d4987f9c5
2 changed files with 3 additions and 1 deletions
|
@ -17,7 +17,7 @@ import java.text.SimpleDateFormat;
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
import java.util.concurrent.TimeUnit;
|
import java.util.concurrent.TimeUnit;
|
||||||
public class Main {
|
public class Main {
|
||||||
private static final String version = "0.8";
|
private static final String version = "0.8.1";
|
||||||
private static final HashMap<String, HashMap<String, Integer>> udata = new HashMap<>();
|
private static final HashMap<String, HashMap<String, Integer>> udata = new HashMap<>();
|
||||||
public static Settings conf;
|
public static Settings conf;
|
||||||
static OebbCheck check = new OebbCheck();
|
static OebbCheck check = new OebbCheck();
|
||||||
|
|
|
@ -67,9 +67,11 @@ public class OebbCheck {
|
||||||
if(notRunningDays.contains(String.valueOf(now.get(Calendar.DAY_OF_WEEK))) || (dat != null && notRunningDays.contains("H"))){
|
if(notRunningDays.contains(String.valueOf(now.get(Calendar.DAY_OF_WEEK))) || (dat != null && notRunningDays.contains("H"))){
|
||||||
return -2;
|
return -2;
|
||||||
} else {
|
} else {
|
||||||
|
LOG.debug("Journey did not fit Stop or Train. {}", journeys);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
LOG.debug("Journeys was null");
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue