diff --git a/src/main/java/com/javierllorente/obsfx/BrowserController.java b/src/main/java/com/javierllorente/obsfx/BrowserController.java index 364ce2e..2df3552 100644 --- a/src/main/java/com/javierllorente/obsfx/BrowserController.java +++ b/src/main/java/com/javierllorente/obsfx/BrowserController.java @@ -255,8 +255,6 @@ private void load(String location) { tabPane.getTabs().remove(filesTab); tabPane.getTabs().remove(revisionsTab); handleProjectTasks(); - } else { - handlePackageTasks(); } loaded = true; @@ -284,32 +282,6 @@ private void handleProjectTasks() { } } } - - private void handlePackageTasks() { - int tabIndex = tabPane.getSelectionModel().getSelectedIndex(); - logger.log(Level.INFO, "tabIndex = {0}", tabIndex); - String prj = getLocationProject(); - String pkg = getLocationPackage(); - - switch (tabIndex) { - case 0 -> { - startPkgMetaConfigTask(prj, pkg); - startLatestRevisionTask(prj, pkg); - startBuildResultsTask(prj, pkg); - } - case 1 -> { - filesController.clear(); - startFilesTask(prj, pkg); - } - case 2 -> { - revisionsController.clear(); - startRevisionsTask(prj, pkg); - } - case 3 -> { - startRequestsTask(prj, pkg); - } - } - } private void initPackageListView() { packagesListView.getSelectionModel().selectedItemProperty()