code clean up
This commit is contained in:
		| @ -24,15 +24,15 @@ public class tableData { | ||||
| 	 | ||||
| 	/** | ||||
| 	 * tableData is the data-type of tree-table-view | ||||
| 	 * @param year: the release year of the film | ||||
| 	 * @param season: season if it's a series | ||||
| 	 * @param episode: episode if it's a series | ||||
| 	 * @param rating: indicator for favourites, used for sorting the items | ||||
| 	 * @param resolution: resolution of the film | ||||
| 	 * @param titel: title of the film | ||||
| 	 * @param streamUrl: the concrete path to the file or the URL | ||||
| 	 * @param image: the favourite icon | ||||
| 	 * @param cached: indicator for caching status | ||||
| 	 * @param year the release year of the film | ||||
| 	 * @param season season if it's a series | ||||
| 	 * @param episode episode if it's a series | ||||
| 	 * @param rating indicator for favourites, used for sorting the items | ||||
| 	 * @param resolution resolution of the film | ||||
| 	 * @param titel title of the film | ||||
| 	 * @param streamUrl the concrete path to the file or the URL | ||||
| 	 * @param image the favourite icon | ||||
| 	 * @param cached indicator for caching status | ||||
| 	 */ | ||||
| 	public tableData (final int year, final int season, final int episode, final double rating, final String resolution, final String title, final String streamUrl, final ImageView image, final boolean cached) { | ||||
| 		this.year.set(year); | ||||
|  | ||||
| @ -19,7 +19,6 @@ import com.eclipsesource.json.Json; | ||||
| import com.eclipsesource.json.JsonArray; | ||||
| import com.eclipsesource.json.JsonObject; | ||||
| import com.eclipsesource.json.JsonValue; | ||||
|  | ||||
| import javafx.application.Platform; | ||||
|  | ||||
| public class updater implements Runnable{ | ||||
| @ -95,6 +94,7 @@ public class updater implements Runnable{ | ||||
| 				org.apache.commons.io.FileUtils.deleteQuietly(new File("ProjectHomeFlix_update.jar"));	//delete update | ||||
| 				Runtime.getRuntime().exec("java -jar ProjectHomeFlix.jar");	//start again | ||||
| 				System.exit(0);	//finishes itself | ||||
| 				 | ||||
| 			} catch (IOException e) { | ||||
| 				Platform.runLater(() -> { | ||||
| 					mainWindowController.showErrorMsg(mainWindowController.errorUpdateD, e); | ||||
|  | ||||
		Reference in New Issue
	
	Block a user