From 70381b8c8411cd6641577097bca7148dcb6715d6 Mon Sep 17 00:00:00 2001 From: Sande Gilda Date: Tue, 14 Aug 2018 10:47:29 -0400 Subject: [PATCH] Fix Javadocs comments for Query.getHibernateMaxResults() method --- hibernate-core/src/main/java/org/hibernate/Query.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hibernate-core/src/main/java/org/hibernate/Query.java b/hibernate-core/src/main/java/org/hibernate/Query.java index 6c68a3ab54..e943bc7f1e 100644 --- a/hibernate-core/src/main/java/org/hibernate/Query.java +++ b/hibernate-core/src/main/java/org/hibernate/Query.java @@ -135,7 +135,7 @@ public interface Query extends TypedQuery, CommonQueryContract { * @see #setMaxResults(int) (int) * @see #setHibernateMaxResults(int) (int) * - * @deprecated {@link #setMaxResults(int)} should be used instead. + * @deprecated {@link #getMaxResults(int)} should be used instead. */ @Deprecated default Integer getHibernateMaxResults() {