updated javafx to 11.0.2

This commit is contained in:
Jannik 2019-03-11 18:38:56 +01:00
parent 0786770e97
commit 3381047e76
2 changed files with 6 additions and 6 deletions

View File

@ -27,19 +27,19 @@
<dependency> <dependency>
<groupId>org.openjfx</groupId> <groupId>org.openjfx</groupId>
<artifactId>javafx-controls</artifactId> <artifactId>javafx-controls</artifactId>
<version>11.0.1</version> <version>11.0.2</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.openjfx</groupId> <groupId>org.openjfx</groupId>
<artifactId>javafx-fxml</artifactId> <artifactId>javafx-fxml</artifactId>
<version>11.0.1</version> <version>11.0.2</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.openjfx</groupId> <groupId>org.openjfx</groupId>
<artifactId>javafx-media</artifactId> <artifactId>javafx-media</artifactId>
<version>11.0.1</version> <version>11.0.2</version>
</dependency> </dependency>
<dependency> <dependency>

View File

@ -430,10 +430,10 @@ public class MainWindowController {
if ((currentTableFilm.getCached().isAfter(lastValidCache) )|| dbController.searchCacheByURL(getCurrentStreamUrl())) { if ((currentTableFilm.getCached().isAfter(lastValidCache) )|| dbController.searchCacheByURL(getCurrentStreamUrl())) {
LOGGER.info("loading from cache: " + getCurrentTitle()); LOGGER.info("loading from cache: " + getCurrentTitle());
setSelectedFilmInfo(dbController.readCache(getCurrentStreamUrl())); setSelectedFilmInfo(dbController.readCache(getCurrentStreamUrl()));
System.out.println("cache date is: " + currentTableFilm.getCached().toString()); // System.out.println("cache date is: " + currentTableFilm.getCached().toString());
} else { } else {
System.out.println("either not cached or to old!"); // System.out.println("either not cached or to old!");
System.out.println("cache date is: " + currentTableFilm.getCached().toString()); // System.out.println("cache date is: " + currentTableFilm.getCached().toString());
// this is not perfect! // this is not perfect!
new Thread(new Runnable() { new Thread(new Runnable() {
public void run() { public void run() {