File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
domain/src/main/java/com/stop/domain/usecase/route Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -199,7 +199,7 @@ internal class GetLastTransportTimeUseCaseImpl @Inject constructor(
199
199
subwayCircleType,
200
200
weekType
201
201
)
202
- val suffix = checkStationCase(
202
+ val correctionValueByStationCase = checkStationCase(
203
203
transportIdRequest.stationType,
204
204
subwayCircleType,
205
205
startStationIndex,
@@ -218,7 +218,7 @@ internal class GetLastTransportTimeUseCaseImpl @Inject constructor(
218
218
*
219
219
*/
220
220
val result = lastTrainTime.firstOrNull {
221
- enableDestinationStation.contains(it.destinationStationName).xor(suffix ).not ()
221
+ enableDestinationStation.contains(it.destinationStationName).xor(correctionValueByStationCase ).not ()
222
222
|| transportIdRequest.destinationStation.name == it.destinationStationName
223
223
}?.leftTime ? : throw IllegalArgumentException (" 막차 시간 로직이 잘못되었습니다." )
224
224
You can’t perform that action at this time.
0 commit comments