fix(client/print): remove obsolete code & +notimplexception
This commit is contained in:
parent
0cc767d577
commit
ed87f1c09f
2 changed files with 3 additions and 6 deletions
|
|
@ -326,11 +326,6 @@ public class FoodpalApplicationCtrl implements LocaleAware {
|
|||
this.recipeDetailController.setVisible(true);
|
||||
}
|
||||
|
||||
@FXML
|
||||
private void makePrintable() {
|
||||
System.out.println("Recipe printed");
|
||||
}
|
||||
|
||||
/**
|
||||
* Clones a recipe, when clicking on the button "clone".
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@ import javafx.scene.input.KeyCode;
|
|||
import javafx.scene.layout.HBox;
|
||||
import javafx.scene.layout.VBox;
|
||||
import javafx.scene.text.Font;
|
||||
import org.apache.commons.lang3.NotImplementedException;
|
||||
|
||||
/**
|
||||
* Controller for the recipe detail view.
|
||||
|
|
@ -250,7 +251,8 @@ public class RecipeDetailCtrl implements LocaleAware {
|
|||
@FXML
|
||||
private void printRecipe() {
|
||||
// TODO: actually make it print?
|
||||
System.out.println("Recipe printed");
|
||||
throw new NotImplementedException("TODO:: Integrate with Print/Export service");
|
||||
// System.out.println("Recipe printed");
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue