From ba68e26e9d40aab61d8d973dfb96671cb24fce1b Mon Sep 17 00:00:00 2001 From: Jens Schauder Date: Thu, 13 Jan 2022 18:18:15 +0100 Subject: [PATCH] Fixes JavaDoc problems. See #2232 --- .../org/springframework/data/jpa/repository/JpaRepository.java | 2 +- .../springframework/data/jpa/repository/query/QueryUtils.java | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/spring-data-jpa/src/main/java/org/springframework/data/jpa/repository/JpaRepository.java b/spring-data-jpa/src/main/java/org/springframework/data/jpa/repository/JpaRepository.java index ba10d435a..bf3de1f65 100644 --- a/spring-data-jpa/src/main/java/org/springframework/data/jpa/repository/JpaRepository.java +++ b/spring-data-jpa/src/main/java/org/springframework/data/jpa/repository/JpaRepository.java @@ -141,7 +141,7 @@ public interface JpaRepository extends PagingAndSortingRepository, /** * Returns a reference to the entity with the given identifier. Depending on how the JPA persistence provider is * implemented this is very likely to always return an instance and throw an - * {@link javax.persistence.EntityNotFoundException} on first access. Some of them will reject invalid identifiers + * {@link jakarta.persistence.EntityNotFoundException} on first access. Some of them will reject invalid identifiers * immediately. * * @param id must not be {@literal null}. diff --git a/spring-data-jpa/src/main/java/org/springframework/data/jpa/repository/query/QueryUtils.java b/spring-data-jpa/src/main/java/org/springframework/data/jpa/repository/query/QueryUtils.java index c9010d9d7..c42fef8b2 100644 --- a/spring-data-jpa/src/main/java/org/springframework/data/jpa/repository/query/QueryUtils.java +++ b/spring-data-jpa/src/main/java/org/springframework/data/jpa/repository/query/QueryUtils.java @@ -472,7 +472,6 @@ public abstract class QueryUtils { * @param originalQuery must not be {@literal null}. * @param countProjection may be {@literal null}. * @return a query String to be used a count query for pagination. Guaranteed to be not {@literal null}. - * @return a query String to be used a count query for pagination. Guaranteed to be not {@literal null}. * @since 1.6 * @deprecated use {@link DeclaredQuery#deriveCountQuery(String, String)} instead. */