diff --git a/src/main/java/cokr/xit/interfaces/lvis/service/bean/VehicleInfoBean.java b/src/main/java/cokr/xit/interfaces/lvis/service/bean/VehicleInfoBean.java index 7a37305..8ea4f79 100644 --- a/src/main/java/cokr/xit/interfaces/lvis/service/bean/VehicleInfoBean.java +++ b/src/main/java/cokr/xit/interfaces/lvis/service/bean/VehicleInfoBean.java @@ -90,13 +90,7 @@ public class VehicleInfoBean extends AbstractComponent { return response; } - public Map getBasicInfo(List vhrNos) { - List reqs = vhrNos.stream().map(vhrNo -> { - BasicInfoRequest req = new BasicInfoRequest(); - req.setVhrno(vhrNo); - return req; - }).toList(); - + public Map getBasicInfo(List reqs) { return reqs.stream() .map(this::getBasicInfo) .filter(BasicInfoResponse::isSuccess)