From 7059146c2598ea5d805f42fb93597cef0e71d995 Mon Sep 17 00:00:00 2001 From: Guillaume Smet Date: Tue, 14 Aug 2018 17:01:21 +0200 Subject: [PATCH] Fix the previous commit to reference #getMaxResults() --- 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 e943bc7f1e..5fbf556736 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 #getMaxResults(int)} should be used instead. + * @deprecated {@link #getMaxResults()} should be used instead. */ @Deprecated default Integer getHibernateMaxResults() {