You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2022/03/09 11:57:31 UTC

[camel] 03/03: CAMEL-15520: fixed deprecations in camel-sql

This is an automated email from the ASF dual-hosted git repository.

orpiske pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git

commit ceb8cc25945588d1247de07c146d77a7f9b320d6
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Wed Mar 9 10:44:06 2022 +0100

    CAMEL-15520: fixed deprecations in camel-sql
---
 .../apache/camel/component/sql/SqlProducerUseMessageBodyForSqlTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/camel-sql/src/test/java/org/apache/camel/component/sql/SqlProducerUseMessageBodyForSqlTest.java b/components/camel-sql/src/test/java/org/apache/camel/component/sql/SqlProducerUseMessageBodyForSqlTest.java
index 667864b..3548752 100644
--- a/components/camel-sql/src/test/java/org/apache/camel/component/sql/SqlProducerUseMessageBodyForSqlTest.java
+++ b/components/camel-sql/src/test/java/org/apache/camel/component/sql/SqlProducerUseMessageBodyForSqlTest.java
@@ -115,7 +115,7 @@ public class SqlProducerUseMessageBodyForSqlTest extends CamelTestSupport {
     }
 
     @Test
-    @SuppressWarnings("unchecked")
+    @SuppressWarnings({ "unchecked", "deprecated" })
     public void testUseMessageBodyForSqlAndCamelSqlParametersBatch() throws Exception {
         context.addRoutes(new RouteBuilder() {
             public void configure() {