Skip to content

hm added#654

Open
NSashchenko wants to merge 1 commit intomate-academy:masterfrom
NSashchenko:master
Open

hm added#654
NSashchenko wants to merge 1 commit intomate-academy:masterfrom
NSashchenko:master

Conversation

@NSashchenko
Copy link

No description provided.

Copy link

@olekskov olekskov left a comment

Choose a reason for hiding this comment

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

Good job

public class GetAllCarsController extends HttpServlet {
private static final Injector injector = Injector.getInstance("mate");
private final ManufacturerService manufacturerService =
(ManufacturerService) injector.getInstance(ManufacturerService.class);

Choose a reason for hiding this comment

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

The variable 'manufacturerService' is declared but it is not used anywhere in the code. This is unnecessary and can be removed to make the code cleaner.

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