Skip to content

Commit df9e13d

Browse files
yrodieremarko-bekhta
authored andcommitted
HSEARCH-4627 Update the reason for a @SuppressForbiddenApis
1 parent c56bed1 commit df9e13d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/query/impl/HibernateOrmSearchQueryAdapter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
import jakarta.persistence.PersistenceException;
4646
import jakarta.persistence.QueryTimeoutException;
4747

48-
@SuppressForbiddenApis(reason = "We need to extend the internal AbstractProducedQuery"
48+
@SuppressForbiddenApis(reason = "We need to use the internal QueryOptionsImpl"
4949
+ " in order to implement a org.hibernate.query.Query")
5050
@SuppressWarnings("unchecked") // For some reason javac issues warnings for all methods returning this; IDEA doesn't.
5151
public final class HibernateOrmSearchQueryAdapter<R> extends AbstractQuery<R> {

0 commit comments

Comments
 (0)