Some checkstyle fixes

This commit is contained in:
Mei Chang van der Werff 2025-12-02 18:07:45 +01:00
commit 517984a9f5
3 changed files with 2 additions and 5 deletions

View file

@ -1,7 +1,6 @@
package client.scenes; package client.scenes;
import javafx.event.ActionEvent;
import java.io.IOException; import java.io.IOException;
import java.util.List; import java.util.List;
@ -208,7 +207,7 @@ public class FoodpalApplicationCtrl {
//without caused errors //without caused errors
@FXML @FXML
private void MakePrintable() { private void makePrintable() {
System.out.println("Recipe printed"); System.out.println("Recipe printed");
} }

View file

@ -2,11 +2,9 @@ package client.utils;
import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.ObjectMapper;
import commons.Quote;
import commons.Recipe; import commons.Recipe;
import jakarta.ws.rs.ProcessingException; import jakarta.ws.rs.ProcessingException;
import jakarta.ws.rs.client.ClientBuilder; import jakarta.ws.rs.client.ClientBuilder;
import jakarta.ws.rs.client.Entity;
import org.glassfish.jersey.client.ClientConfig; import org.glassfish.jersey.client.ClientConfig;

View file

@ -114,7 +114,7 @@
</font></Label> </font></Label>
<Button fx:id="editRecipeTitleButton" onAction="#editRecipeTitle" text="Edit" /> <Button fx:id="editRecipeTitleButton" onAction="#editRecipeTitle" text="Edit" />
<Button fx:id="RemoveRecipeButton2" mnemonicParsing="false" onAction="#removeSelectedRecipe" text="Remove Recipe" /> <Button fx:id="RemoveRecipeButton2" mnemonicParsing="false" onAction="#removeSelectedRecipe" text="Remove Recipe" />
<Button fx:id="printRecipe" mnemonicParsing="false" onAction="#MakePrintable" text="Print Recipe" /> <Button fx:id="printRecipe" mnemonicParsing="false" onAction="#makePrintable" text="Print Recipe" />
</HBox> </HBox>
<!-- Ingredients --> <!-- Ingredients -->