This is an automated email from the ASF dual-hosted git repository.
apupier pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 574b83f8826e Remove unnecessary cast in mina-sftp
574b83f8826e is described below
commit 574b83f8826e1588c5691c13c6fe0ed421df9018
Author: Aurélien Pupier <[email protected]>
AuthorDate: Thu Mar 5 10:30:01 2026 +0100
Remove unnecessary cast in mina-sftp
Signed-off-by: Aurélien Pupier <[email protected]>
---
.../org/apache/camel/component/file/remote/mina/MinaSftpOperations.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/components/camel-mina-sftp/src/main/java/org/apache/camel/component/file/remote/mina/MinaSftpOperations.java
b/components/camel-mina-sftp/src/main/java/org/apache/camel/component/file/remote/mina/MinaSftpOperations.java
index 925f7cdcce5f..a8a97fbea31f 100644
---
a/components/camel-mina-sftp/src/main/java/org/apache/camel/component/file/remote/mina/MinaSftpOperations.java
+++
b/components/camel-mina-sftp/src/main/java/org/apache/camel/component/file/remote/mina/MinaSftpOperations.java
@@ -702,7 +702,7 @@ public class MinaSftpOperations implements
RemoteFileOperations<SftpRemoteFile>
}
private MinaSftpConfiguration getMinaSftpConfiguration() {
- return (MinaSftpConfiguration) endpoint.getConfiguration();
+ return endpoint.getConfiguration();
}
/**