Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support @Inject on method with no arguments #99

Closed
rbygrave opened this issue May 11, 2021 · 0 comments
Closed

Support @Inject on method with no arguments #99

rbygrave opened this issue May 11, 2021 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@rbygrave
Copy link
Contributor

As per TCK emptyMethod() should be called even though it doesn't inject anything.

@Singleton
class MethodInjectProvider {

  @Inject
  void emptyMethod() {
    ...
  }
  
}
@rbygrave rbygrave added the bug Something isn't working label May 11, 2021
@rbygrave rbygrave added this to the 3.3 milestone May 11, 2021
@rbygrave rbygrave self-assigned this May 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant