Skip to content

하성준 6주차 과제#39

Open
tthungjun wants to merge 2 commits into
mainfrom
hasungjun-week06
Open

하성준 6주차 과제#39
tthungjun wants to merge 2 commits into
mainfrom
hasungjun-week06

Conversation

@tthungjun

Copy link
Copy Markdown
Collaborator

No description provided.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 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;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P0 Badge 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 👍 / 👎.

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.

1 participant