From 410bb5d455d2378020fbc45dd1b9036ef514e7b8 Mon Sep 17 00:00:00 2001 From: Ricardo Campos Date: Wed, 8 Mar 2023 14:22:43 -0300 Subject: [PATCH] ci(checkstyle): add check for unused imports (#96) * feat: add check for unused imports * chore: remove unused imports --- .mvn/google_checks.xml | 1 + .../backendstartapi/endpoint/FundingSourceEndpoint.java | 7 +++---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.mvn/google_checks.xml b/.mvn/google_checks.xml index 404ed6b..0151c92 100644 --- a/.mvn/google_checks.xml +++ b/.mvn/google_checks.xml @@ -366,5 +366,6 @@ + diff --git a/src/main/java/ca/bc/gov/backendstartapi/endpoint/FundingSourceEndpoint.java b/src/main/java/ca/bc/gov/backendstartapi/endpoint/FundingSourceEndpoint.java index 6fcfb53..90966fd 100644 --- a/src/main/java/ca/bc/gov/backendstartapi/endpoint/FundingSourceEndpoint.java +++ b/src/main/java/ca/bc/gov/backendstartapi/endpoint/FundingSourceEndpoint.java @@ -8,8 +8,6 @@ import io.swagger.v3.oas.annotations.responses.ApiResponse; import io.swagger.v3.oas.annotations.responses.ApiResponses; import io.swagger.v3.oas.annotations.tags.Tag; -import java.time.LocalDate; -import java.time.temporal.TemporalUnit; import java.util.List; import lombok.NoArgsConstructor; import lombok.Setter; @@ -45,8 +43,9 @@ public FundingSourceEndpoint(FundingSourceRepository fundingSourceRepository) { @PreAuthorize("hasRole('user_read')") @Operation( summary = "Retrieve non-expired funding sources", - description = "Retrieve all valid (non expired) funding source based on effectiveDate " - + "and expiryDate, where 'today >= effectiveDate' and 'today < expiryDate'.") + description = + "Retrieve all valid (non expired) funding source based on effectiveDate " + + "and expiryDate, where 'today >= effectiveDate' and 'today < expiryDate'.") @ApiResponses( value = { @ApiResponse(