From 4564524fe54ac55a5267a6011abb935605eed8b8 Mon Sep 17 00:00:00 2001 From: Jinil Sung Date: Wed, 18 Oct 2023 17:21:51 -0700 Subject: [PATCH] Clean up comments. Clean up comments. --- .../processor/EDWSnapshotProcessor.java | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/api/src/main/java/ca/bc/gov/educ/api/batchgraduation/processor/EDWSnapshotProcessor.java b/api/src/main/java/ca/bc/gov/educ/api/batchgraduation/processor/EDWSnapshotProcessor.java index 3a8409da..7658baf2 100644 --- a/api/src/main/java/ca/bc/gov/educ/api/batchgraduation/processor/EDWSnapshotProcessor.java +++ b/api/src/main/java/ca/bc/gov/educ/api/batchgraduation/processor/EDWSnapshotProcessor.java @@ -10,7 +10,6 @@ import org.springframework.beans.factory.annotation.Value; import java.util.List; -import java.util.UUID; public class EDWSnapshotProcessor implements ItemProcessor>>> { @@ -31,10 +30,7 @@ public List>> process(String mincode) t LOGGER.debug("Processing partitionData for mincode {} ", mincode); List edwStudents = restUtils.getEDWSnapshotStudents(summaryDTO.getGradYear(), mincode, summaryDTO.getAccessToken()); List results = edwStudents.stream().map(r -> { -// refreshToken(); -// UUID studentID = this.restUtils.getStudentIDByPen(r.getPen(), summaryDTO.getAccessToken()); EdwGraduationSnapshot m = new EdwGraduationSnapshot(); -// m.setStudentID(studentID); m.setPen(r.getPen()); m.setSchoolOfRecord(r.getSchoolOfRecord()); m.setGraduatedDate(r.getGraduatedDate()); @@ -46,11 +42,4 @@ public List>> process(String mincode) t LOGGER.debug("Students found: {}", results.size()); return List.of(Pair.of(mincode, results)); } - -// private void refreshToken() { -// ResponseObj res = restUtils.getTokenResponseObject(); -// if (res != null) { -// summaryDTO.setAccessToken(res.getAccess_token()); -// } -// } }