diff --git a/src/main/java/controller/tasks/RssReader.java b/src/main/java/controller/tasks/RssReader.java index 5ee9c1b..5dc8961 100644 --- a/src/main/java/controller/tasks/RssReader.java +++ b/src/main/java/controller/tasks/RssReader.java @@ -1,6 +1,7 @@ package controller.tasks; import database.Database; +import javafx.application.Platform; import javafx.concurrent.Task; import model.Channel; import model.Video; @@ -8,6 +9,7 @@ import org.w3c.dom.Element; import org.w3c.dom.Node; import org.w3c.dom.NodeList; +import view.dialog.ErrorDialog; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; @@ -21,7 +23,7 @@ * Class to retrieve and read RSS Feeds. * * @author Alkisum - * @version 2.4 + * @version 2.9 * @since 1.0 */ public class RssReader extends Task { @@ -55,6 +57,7 @@ public RssReader(final List channels) { protected final Void call() throws Exception { List