하성준 6주차 과제#39
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: bf46b0a774
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| // TODO ②: @Autowired 생성자 작성 | ||
| @Autowired | ||
| public CafeOrderService (ObjectProvider<OrderCounter> counterProvider) { | ||
| this.counterProvider = orderCounter; |
There was a problem hiding this comment.
Assign injected provider parameter correctly
CafeOrderService's constructor assigns this.counterProvider from orderCounter, but that name is not defined in the constructor scope (the parameter is counterProvider). This causes a compile-time cannot find symbol error, so src cannot be built until the assignment uses the injected parameter.
Useful? React with 👍 / 👎.
No description provided.