Skip to content

Commit

Permalink
Fix spec references in javadoc (#83)
Browse files Browse the repository at this point in the history
Signed-off-by: Lukas Jungmann <lukas.jungmann@oracle.com>
  • Loading branch information
lukasj committed Oct 12, 2020
1 parent dfc5640 commit 3c79c0a
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 8 deletions.
1 change: 1 addition & 0 deletions api/pom.xml
Expand Up @@ -337,6 +337,7 @@
<release>11</release>
<additionalOptions>--add-modules java.sql</additionalOptions>
<notimestamp>true</notimestamp>
<nosince>true</nosince>
<docfilessubdirs>true</docfilessubdirs>
<doctitle>Jakarta Annotations ${project.version} API Specification</doctitle>
<header><![CDATA[<br>Jakarta Annotations API v${project.version}]]></header>
Expand Down
8 changes: 4 additions & 4 deletions api/src/main/java/jakarta/annotation/ManagedBean.java
Expand Up @@ -31,14 +31,14 @@
@Retention(RUNTIME)
public @interface ManagedBean {
/**
* The name of the Managed Bean. Managed Bean names must be unique within a
* Jakarta EE module. For each named Managed Bean, Java EE containers must make
* The name of the Jakarta Managed Bean. Jakarta Managed Bean names must be unique within a
* Jakarta EE module. For each named Jakarta Managed Bean, Jakarta EE containers must make
* available the following entries in JNDI, using the same naming scheme used
* for EJB components.
* for Jakarta Enterprise Beans components.
* <p>
* In the application namespace: <p>
* java:app/&lt;module-name&gt;/&lt;bean-name&gt; <p>
* In the module namespace of the module containing the Managed Bean:
* In the module namespace of the module containing the Jakarta Managed Bean:
* <p> java:module/&lt;bean-name&gt;
*
*/
Expand Down
2 changes: 1 addition & 1 deletion api/src/main/java/jakarta/annotation/PostConstruct.java
Expand Up @@ -34,7 +34,7 @@
* <ul>
* <li>The method must not have any parameters except in the case of
* interceptors in which case it takes an <code>InvocationContext</code>
* object as defined by the Interceptors specification.</li>
* object as defined by the Jakarta Interceptors specification.</li>
* <li>The method defined on an interceptor class or superclass of an
* interceptor class must have one of the following signatures:
* <p>
Expand Down
2 changes: 1 addition & 1 deletion api/src/main/java/jakarta/annotation/PreDestroy.java
Expand Up @@ -33,7 +33,7 @@
* <ul>
* <li>The method must not have any parameters except in the case of
* interceptors in which case it takes an <code>InvocationContext</code>
* object as defined by the Interceptors specification.</li>
* object as defined by the Jakarta Interceptors specification.</li>
* <li>The method defined on an interceptor class or superclass of an
* interceptor class must have one of the following signatures:
* <p>
Expand Down
2 changes: 1 addition & 1 deletion api/src/main/java/jakarta/annotation/Priority.java
Expand Up @@ -27,7 +27,7 @@
* any particular instance is defined by other specifications that
* define the use of a specific class.
* <p>
* For example, the Interceptors specification defines the use of
* For example, the Jakarta Interceptors specification defines the use of
* priorities on interceptors to control the order in which
* interceptors are called.</p>
* <p>
Expand Down
Expand Up @@ -126,7 +126,7 @@
* )
* </pre>
* <p>
* An example lookup of the DataSource from an EJB:
* An example lookup of the DataSource from an Jakarta Enterprise Beans:
* <pre>
* &#064;Stateless
* public class MyStatelessEJB {
Expand Down

0 comments on commit 3c79c0a

Please sign in to comment.