Skip to content

jv-web-practice solution#649

Open
Nikostrik wants to merge 1 commit intomate-academy:masterfrom
Nikostrik:hw-jv_web_practice-solution
Open

jv-web-practice solution#649
Nikostrik wants to merge 1 commit intomate-academy:masterfrom
Nikostrik:hw-jv_web_practice-solution

Conversation

@Nikostrik
Copy link

No description provided.

Long carId = Long.valueOf(req.getParameter("car_id"));
Car car = carService.get(carId);
Driver driver = driverService.get(driverId);
carService.addDriverToCar(driver,car);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
carService.addDriverToCar(driver,car);
carService.addDriverToCar(driver, car);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants