diff --git a/.github/workflows/ci-actions.yml b/.github/workflows/ci-actions.yml index 7cdcbf0a..0f29c5a6 100644 --- a/.github/workflows/ci-actions.yml +++ b/.github/workflows/ci-actions.yml @@ -11,8 +11,7 @@ jobs: strategy: fail-fast: false matrix: - java: - - 11 + java: [ '11', '17' ] steps: - uses: actions/checkout@v2 - name: Set up JDK ${{ matrix.java }} diff --git a/api/src/main/java/jakarta/decorator/package-info.java b/api/src/main/java/jakarta/decorator/package-info.java index 94bdde62..4610ed95 100644 --- a/api/src/main/java/jakarta/decorator/package-info.java +++ b/api/src/main/java/jakarta/decorator/package-info.java @@ -32,7 +32,7 @@ * for which interceptors are optimized. Decorators are called * after interceptors.

* - *

Decorated types

+ *

Decorated types

* *

The set of decorated types of a decorator includes all * bean types of the managed bean that are Java interfaces, @@ -49,7 +49,7 @@ *

A decorator may be an abstract class, and is not required to * implement every method of every decorated type.

* - *

Delegate injection points

+ *

Delegate injection points

* *

All decorators have a * {@linkplain jakarta.decorator.Delegate delegate injection point}. @@ -60,7 +60,7 @@ * extend every decorated type. A decorator is not required to * implement the type of the delegate injection point.

* - *

Enabled decorators

+ *

Enabled decorators

* *

By default, a bean archive has no enabled decorators. A * decorator must be explicitly enabled by listing its bean class diff --git a/api/src/main/java/jakarta/enterprise/context/package-info.java b/api/src/main/java/jakarta/enterprise/context/package-info.java index b2e2232d..86e701e4 100644 --- a/api/src/main/java/jakarta/enterprise/context/package-info.java +++ b/api/src/main/java/jakarta/enterprise/context/package-info.java @@ -29,7 +29,7 @@ * bean * * - *

Built-in scopes

+ *

Built-in scopes

* *

The following built-in scopes are provided: * {@link jakarta.enterprise.context.Dependent @Dependent}, @@ -57,7 +57,7 @@ * method invocations or to asynchronous processes such as JMS message * listeners or EJB timer service timeouts.

* - *

Normal scopes and pseudo-scopes

+ *

Normal scopes and pseudo-scopes

* *

Most scopes are normal scopes. Normal scopes are declared * using {@link jakarta.enterprise.context.NormalScope @NormalScope}. @@ -80,7 +80,7 @@ * {@link jakarta.enterprise.context.Dependent @Dependent} and * {@link jakarta.inject.Singleton @Singleton} pseudo-scopes.

* - *

Contextual and injected reference validity

+ *

Contextual and injected reference validity

* *

A reference to a bean obtained from the container via {@linkplain * jakarta.enterprise.inject.Instance programmatic lookup} is called a diff --git a/api/src/main/java/jakarta/enterprise/event/Observes.java b/api/src/main/java/jakarta/enterprise/event/Observes.java index 20175f55..c1d9ea4c 100644 --- a/api/src/main/java/jakarta/enterprise/event/Observes.java +++ b/api/src/main/java/jakarta/enterprise/event/Observes.java @@ -105,8 +105,8 @@ * *

* By default, the observer method is notified when the event is fired. - * @return phase of the transaction *

+ * @return phase of the transaction */ public TransactionPhase during() default TransactionPhase.IN_PROGRESS; } diff --git a/api/src/main/java/jakarta/enterprise/event/package-info.java b/api/src/main/java/jakarta/enterprise/event/package-info.java index d3e87e0a..1f0f9450 100644 --- a/api/src/main/java/jakarta/enterprise/event/package-info.java +++ b/api/src/main/java/jakarta/enterprise/event/package-info.java @@ -37,7 +37,7 @@ *

The {@link jakarta.enterprise.event.Event} interface is used to * fire events.

* - *

Event objects and event types

+ *

Event objects and event types

* *

The event object acts as a payload, to propagate state from * producer to consumer. An event object is an instance of a concrete @@ -47,13 +47,13 @@ * interfaces of the runtime class of the event object. An event type * may not contain a type variable.

* - *

Event qualifiers

+ *

Event qualifiers

* *

The event qualifiers act as topic selectors, allowing the consumer * to narrow the set of events it observes. An event qualifier may be an * instance of any {@linkplain jakarta.inject.Qualifier qualifier type}.

* - *

Observer methods

+ *

Observer methods

* *

An {@linkplain jakarta.enterprise.event.Observes observer method} * allows the application to receive and respond synchronously to event notifications. diff --git a/api/src/main/java/jakarta/enterprise/inject/spi/package-info.java b/api/src/main/java/jakarta/enterprise/inject/spi/package-info.java index f4ec428d..cb611f1f 100644 --- a/api/src/main/java/jakarta/enterprise/inject/spi/package-info.java +++ b/api/src/main/java/jakarta/enterprise/inject/spi/package-info.java @@ -28,7 +28,7 @@ * metadata from some other source * * - *

The BeanManager object

+ *

The BeanManager object

* *

Portable extensions sometimes interact directly with the container * via programmatic API call. The interface @@ -36,7 +36,7 @@ * for obtaining contextual references for beans, along with many other * operations of use to portable extensions.

* - *

Container lifecycle events

+ *

Container lifecycle events

* *

During the application initialization process, the container fires * a series of {@linkplain jakarta.enterprise.event events}, allowing @@ -51,7 +51,7 @@ * {@link jakarta.enterprise.inject.spi.AfterDeploymentValidation} and * {@link jakarta.enterprise.inject.spi.BeforeShutdown}.

* - *

Interfaces representing enabled beans

+ *

Interfaces representing enabled beans

* *

The interfaces * {@link jakarta.enterprise.inject.spi.Bean}, @@ -83,7 +83,7 @@ * observing the event type * {@link jakarta.enterprise.inject.spi.ProcessObserverMethod}.

* - *

Alternate metadata sources

+ *

Alternate metadata sources

* *

A portable extension may provide an alternative metadata * source, such as configuration by XML.

@@ -104,7 +104,7 @@ * {@linkplain jakarta.enterprise.inject.spi.ProcessAnnotatedType#setAnnotatedType(AnnotatedType) * wrapping} the {@link jakarta.enterprise.inject.spi.AnnotatedType}.

* - *

Producer and InjectionTarget

+ *

Producer and InjectionTarget

* *

The interfaces {@link jakarta.enterprise.inject.spi.Producer} and * {@link jakarta.enterprise.inject.spi.InjectionTarget} abstract the