From 44a855e177bdc2ee15797cb2296d3bca95d30700 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20=C3=89pardaud?= Date: Fri, 18 Oct 2024 18:16:58 +0200 Subject: [PATCH] Get rid of a raw type --- .../orm/panache/common/runtime/CommonPanacheQueryImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/panache/hibernate-orm-panache-common/runtime/src/main/java/io/quarkus/hibernate/orm/panache/common/runtime/CommonPanacheQueryImpl.java b/extensions/panache/hibernate-orm-panache-common/runtime/src/main/java/io/quarkus/hibernate/orm/panache/common/runtime/CommonPanacheQueryImpl.java index b6ce7f8d0c35d..da2886ab64481 100644 --- a/extensions/panache/hibernate-orm-panache-common/runtime/src/main/java/io/quarkus/hibernate/orm/panache/common/runtime/CommonPanacheQueryImpl.java +++ b/extensions/panache/hibernate-orm-panache-common/runtime/src/main/java/io/quarkus/hibernate/orm/panache/common/runtime/CommonPanacheQueryImpl.java @@ -100,7 +100,7 @@ private CommonPanacheQueryImpl(CommonPanacheQueryImpl previousQuery, String n public CommonPanacheQueryImpl project(Class type) { String selectQuery = query; if (PanacheJpaUtil.isNamedQuery(query)) { - SelectionQuery q = session.createNamedSelectionQuery(query.substring(1)); + SelectionQuery q = session.createNamedSelectionQuery(query.substring(1)); selectQuery = getQueryString(q); }