Skip to content

Commit

Permalink
Clean up comments.
Browse files Browse the repository at this point in the history
Clean up comments.
  • Loading branch information
infstar committed Oct 19, 2023
1 parent 84cc2e2 commit 4564524
Showing 1 changed file with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
import org.springframework.beans.factory.annotation.Value;

import java.util.List;
import java.util.UUID;

public class EDWSnapshotProcessor implements ItemProcessor<String, List<Pair<String, List<EdwGraduationSnapshot>>>> {

Expand All @@ -31,10 +30,7 @@ public List<Pair<String, List<EdwGraduationSnapshot>>> process(String mincode) t
LOGGER.debug("Processing partitionData for mincode {} ", mincode);
List<SnapshotResponse> edwStudents = restUtils.getEDWSnapshotStudents(summaryDTO.getGradYear(), mincode, summaryDTO.getAccessToken());
List<EdwGraduationSnapshot> 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());
Expand All @@ -46,11 +42,4 @@ public List<Pair<String, List<EdwGraduationSnapshot>>> 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());
// }
// }
}

0 comments on commit 4564524

Please sign in to comment.