From 3aa644e9ee15915121b07ce25c93da6cc92cd6d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joe=20K=C3=BCng?= Date: Mon, 2 Feb 2026 19:46:11 +0100 Subject: [PATCH] fix back-end --- .gitea/workflows/cicd.yaml | 2 +- .../java/com/printcalculator/controller/QuoteController.java | 1 - .../main/java/com/printcalculator/service/ProfileManager.java | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.gitea/workflows/cicd.yaml b/.gitea/workflows/cicd.yaml index 948f4f2..320f83b 100644 --- a/.gitea/workflows/cicd.yaml +++ b/.gitea/workflows/cicd.yaml @@ -20,10 +20,10 @@ jobs: with: java-version: '21' distribution: 'temurin' - cache: maven - name: Run Tests with Maven run: | + echo "Starting Maven Build..." cd backend mvn -B test diff --git a/backend/src/main/java/com/printcalculator/controller/QuoteController.java b/backend/src/main/java/com/printcalculator/controller/QuoteController.java index 1815b90..301f01a 100644 --- a/backend/src/main/java/com/printcalculator/controller/QuoteController.java +++ b/backend/src/main/java/com/printcalculator/controller/QuoteController.java @@ -8,7 +8,6 @@ import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.*; import org.springframework.web.multipart.MultipartFile; -import java.io.File; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; diff --git a/backend/src/main/java/com/printcalculator/service/ProfileManager.java b/backend/src/main/java/com/printcalculator/service/ProfileManager.java index 8de7dae..748f5ab 100644 --- a/backend/src/main/java/com/printcalculator/service/ProfileManager.java +++ b/backend/src/main/java/com/printcalculator/service/ProfileManager.java @@ -6,7 +6,6 @@ import com.fasterxml.jackson.databind.node.ObjectNode; import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Service; -import java.io.File; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path;