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/06/23 06:26:34 UTC

[camel] 03/03: (chores) camel-spring-security: documented unused parameters

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 c011d20393d1c780b6416b409ebb346d41f38f48
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Thu Jun 23 07:16:29 2022 +0200

    (chores) camel-spring-security: documented unused parameters
---
 .../camel/component/spring/security/DefaultAuthenticationAdapter.java | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/components/camel-spring-security/src/main/java/org/apache/camel/component/spring/security/DefaultAuthenticationAdapter.java b/components/camel-spring-security/src/main/java/org/apache/camel/component/spring/security/DefaultAuthenticationAdapter.java
index a382a4c3c35..0d9425d891d 100644
--- a/components/camel-spring-security/src/main/java/org/apache/camel/component/spring/security/DefaultAuthenticationAdapter.java
+++ b/components/camel-spring-security/src/main/java/org/apache/camel/component/spring/security/DefaultAuthenticationAdapter.java
@@ -40,8 +40,10 @@ public class DefaultAuthenticationAdapter implements AuthenticationAdapter {
 
     /**
      * You can add the customer convert code here
+     *
+     * @param subject the subject
      */
-    protected Authentication convertToAuthentication(Subject subject) {
+    protected Authentication convertToAuthentication(@SuppressWarnings("unused") Subject subject) {
         return null;
     }