From b9267327b4f84ea7d141d91edabbac3d3805a8b0 Mon Sep 17 00:00:00 2001 From: Jinil Sung Date: Thu, 28 Sep 2023 16:18:54 -0700 Subject: [PATCH] Removed unused codes. Removed unused codes. --- .../api/gradstudent/controller/EdwSnapshotController.java | 3 +-- .../gov/educ/api/gradstudent/service/EdwSnapshotService.java | 4 ---- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/api/src/main/java/ca/bc/gov/educ/api/gradstudent/controller/EdwSnapshotController.java b/api/src/main/java/ca/bc/gov/educ/api/gradstudent/controller/EdwSnapshotController.java index e4b525e9..b3294d63 100644 --- a/api/src/main/java/ca/bc/gov/educ/api/gradstudent/controller/EdwSnapshotController.java +++ b/api/src/main/java/ca/bc/gov/educ/api/gradstudent/controller/EdwSnapshotController.java @@ -26,7 +26,6 @@ public class EdwSnapshotController { private static final Logger logger = LoggerFactory.getLogger(EdwSnapshotController.class); - private static final String BEARER = "Bearer "; @Autowired EdwSnapshotService edwSnapshotService; @@ -36,7 +35,7 @@ public class EdwSnapshotController { @Autowired ResponseHelper response; - + @PostMapping(EducGradStudentApiConstants.EDW_GRADUATION_STATUS_SNAPSHOT) @PreAuthorize(PermissionsConstants.UPDATE_GRADUATION_STUDENT) @Operation(summary = "Save Graduation Status Snapshot for EDW", description = "Save Graduation Status Snapshot for EDW", tags = { "EDW Snapshot" }) diff --git a/api/src/main/java/ca/bc/gov/educ/api/gradstudent/service/EdwSnapshotService.java b/api/src/main/java/ca/bc/gov/educ/api/gradstudent/service/EdwSnapshotService.java index 56fb9abe..0533befc 100644 --- a/api/src/main/java/ca/bc/gov/educ/api/gradstudent/service/EdwSnapshotService.java +++ b/api/src/main/java/ca/bc/gov/educ/api/gradstudent/service/EdwSnapshotService.java @@ -9,8 +9,6 @@ import ca.bc.gov.educ.api.gradstudent.util.EducGradStudentApiConstants; import ca.bc.gov.educ.api.gradstudent.util.EducGradStudentApiUtils; import ca.bc.gov.educ.api.gradstudent.util.GradValidation; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; import org.springframework.beans.BeanUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.domain.Pageable; @@ -27,8 +25,6 @@ @Service public class EdwSnapshotService { - private static final Logger logger = LoggerFactory.getLogger(EdwSnapshotService.class); - final EdwGraduationSnapshotRepository edwGraduationSnapshotRepository; final EDWGraduationStatusTransformer edwGraduationStatusTransformer;