Skip to content

Commit

Permalink
Invalid parameter combinations in @enhancement and @registration meth…
Browse files Browse the repository at this point in the history
…ods should be treated as definition errors.
  • Loading branch information
manovotn committed Dec 8, 2021
1 parent b22d391 commit 95a3838
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
* in {@link jakarta.enterprise.lang.model.declarations.ClassInfo#fields() ClassInfo.fields}.
* <p>
* If the {@code @Enhancement} method doesn't declare any parameter of one of these types,
* or if it declares more than one, the container treats it as a deployment problem.
* or if it declares more than one, the container treats it as a definition error.
* <p>
* Additionally, methods annotated {@code @Enhancement} may declare parameters of these types:
* <ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
* has a parameter of type {@code BeanInfo}, it will be called for interceptors as well.
* <p>
* If the {@code @Registration} method doesn't declare any parameter of one of these types,
* or if it declares more than one, the container treats it as a deployment problem.
* or if it declares more than one, the container treats it as a definition error.
* <p>
* Additionally, methods annotated {@code @Registration} may declare parameters of these types:
* <ul>
Expand Down

0 comments on commit 95a3838

Please sign in to comment.