diff --git a/src/main/java/in/koreatech/koin/domain/timetable/dto/TimetableResponse.java b/src/main/java/in/koreatech/koin/domain/timetable/dto/TimetableResponse.java index 7eaf891b7..ce7837194 100644 --- a/src/main/java/in/koreatech/koin/domain/timetable/dto/TimetableResponse.java +++ b/src/main/java/in/koreatech/koin/domain/timetable/dto/TimetableResponse.java @@ -73,13 +73,6 @@ public record InnerTimetableResponse( public static List from(List timetableLectures) { return timetableLectures.stream() - .filter(timeTableLecture -> { - if (timeTableLecture.getLecture() == null) { - List classTimes = parseIntegerClassTimesFromString(timeTableLecture.getClassTime()); - return classTimes.stream().allMatch(InnerTimetableResponse::isValidClassTime); - } - return true; - }) .map(timeTableLecture -> { if (timeTableLecture.getLecture() == null) { return new InnerTimetableResponse( @@ -117,10 +110,6 @@ public static List from(List timetable }) .toList(); } - - private static boolean isValidClassTime(int classTime) { - return classTime < 19 || classTime % 100 < 19; - } } public static TimetableResponse of(List timetableLectures, TimetableFrame timetableFrame,