fix(client/print): remove obsolete code & +notimplexception

This commit is contained in:
Zhongheng Liu 2026-01-06 21:41:01 +01:00
commit ed87f1c09f
Signed by: steven
GPG key ID: F69B980899C1C09D
2 changed files with 3 additions and 6 deletions

View file

@ -326,11 +326,6 @@ public class FoodpalApplicationCtrl implements LocaleAware {
this.recipeDetailController.setVisible(true); this.recipeDetailController.setVisible(true);
} }
@FXML
private void makePrintable() {
System.out.println("Recipe printed");
}
/** /**
* Clones a recipe, when clicking on the button "clone". * Clones a recipe, when clicking on the button "clone".
*/ */

View file

@ -23,6 +23,7 @@ import javafx.scene.input.KeyCode;
import javafx.scene.layout.HBox; import javafx.scene.layout.HBox;
import javafx.scene.layout.VBox; import javafx.scene.layout.VBox;
import javafx.scene.text.Font; import javafx.scene.text.Font;
import org.apache.commons.lang3.NotImplementedException;
/** /**
* Controller for the recipe detail view. * Controller for the recipe detail view.
@ -250,7 +251,8 @@ public class RecipeDetailCtrl implements LocaleAware {
@FXML @FXML
private void printRecipe() { private void printRecipe() {
// TODO: actually make it print? // TODO: actually make it print?
System.out.println("Recipe printed"); throw new NotImplementedException("TODO:: Integrate with Print/Export service");
// System.out.println("Recipe printed");
} }
/** /**