Skip to content

Commit

Permalink
GRAD2-2252: task is completed.
Browse files Browse the repository at this point in the history
GRAD2-2252: task is completed.
  • Loading branch information
infstar committed Sep 8, 2023
1 parent 8e87e08 commit 9cac116
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ private void createCourseListForTranscript(List<StudentCourse> studentCourseList
String sDate = EducGraduationApiUtils.formatDate(sessionDate, EducGraduationApiConstants.DEFAULT_DATE_FORMAT);
int diff = EducGraduationApiUtils.getDifferenceInMonths(sDate, today);
boolean notCompletedCourse = xml && diff <= 0;
if (!sc.isDuplicate() && !sc.isFailed() && !sc.isNotCompleted() && ((notCompletedCourse) || !sc.isProjected()) && !sc.isValidationCourse()) {
if (!sc.isDuplicate() && !sc.isFailed() && !sc.isNotCompleted() && !sc.isCutOffCourse() && ((notCompletedCourse) || !sc.isProjected()) && !sc.isValidationCourse()) {
TranscriptResult result = new TranscriptResult();
String equivOrChallenge = "";
if (sc.getEquivOrChallenge() != null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

public class GradLocalDateDeserializer extends JsonDeserializer<LocalDate> {

private static final Logger logger = LoggerFactory.getLogger(GradLocalDateTimeDeserializer.class);
private static final Logger logger = LoggerFactory.getLogger(GradLocalDateDeserializer.class);

@Override
public LocalDate deserialize(JsonParser jsonParser, DeserializationContext deserializationContext) throws IOException {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

public class GradLocalDateTimeSerializer extends JsonSerializer<LocalDateTime> {

private static final Logger logger = LoggerFactory.getLogger(GradLocalDateTimeDeserializer.class);
private static final Logger logger = LoggerFactory.getLogger(GradLocalDateTimeSerializer.class);

@Override
public void serialize(LocalDateTime localDate, JsonGenerator jsonGenerator, SerializerProvider serializerProvider) throws IOException {
Expand Down

0 comments on commit 9cac116

Please sign in to comment.