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 authored and marko-bekhta committed Sep 25, 2023
1 parent 6769af8 commit aa48a24
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,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 aa48a24

Please sign in to comment.