diff --git a/api/pom.xml b/api/pom.xml index 52c3120dd..e39b9561c 100644 --- a/api/pom.xml +++ b/api/pom.xml @@ -152,6 +152,7 @@ Use is subject to true https://jakarta.ee/specifications/bean-validation/4.0/apidocs/ + https://jakarta.ee/specifications/cdi/5.0/apidocs/ https://jakarta.ee/specifications/concurrency/3.2/apidocs/ https://jakarta.ee/specifications/dependency-injection/2.0/apidocs/ https://jakarta.ee/specifications/nosql/1.1/apidocs/ diff --git a/api/src/main/java/jakarta/data/Direction.java b/api/src/main/java/jakarta/data/Direction.java index 956fec6d6..792785c92 100644 --- a/api/src/main/java/jakarta/data/Direction.java +++ b/api/src/main/java/jakarta/data/Direction.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2022,2023 Contributors to the Eclipse Foundation + * Copyright (c) 2022,2026 Contributors to the Eclipse Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,7 +19,8 @@ package jakarta.data; /** - * Represents the direction of the ordering. + * Represents the {@linkplain Sort#of(String, Direction, boolean) direction} + * of the ordering. */ public enum Direction { /** diff --git a/api/src/main/java/jakarta/data/Limit.java b/api/src/main/java/jakarta/data/Limit.java index 160197678..4b803c3da 100644 --- a/api/src/main/java/jakarta/data/Limit.java +++ b/api/src/main/java/jakarta/data/Limit.java @@ -24,9 +24,8 @@ import jakarta.data.repository.Query; /** - *

Specifies a limit on the number of results retrieved by a repository - * method. The results of a single invocation of a repository method may be - * limited to + *

Limits the number of results retrieved by a repository method. + * The results of a repository method invocation can be limited to *