Skip to content

Commit

Permalink
HSEARCH-4627 Update the reason for a @SuppressForbiddenApis
Browse files Browse the repository at this point in the history
  • Loading branch information
yrodiere committed Oct 6, 2022
1 parent 9173734 commit 629e077
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -45,7 +45,7 @@
import jakarta.persistence.PersistenceException;
import jakarta.persistence.QueryTimeoutException;

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

0 comments on commit 629e077

Please sign in to comment.