You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2023/03/24 21:13:00 UTC

[jira] [Commented] (CAMEL-19194) Method HMACAccumulator::compareTo() always returns false

    [ https://issues.apache.org/jira/browse/CAMEL-19194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17704815#comment-17704815 ] 

Claus Ibsen commented on CAMEL-19194:
-------------------------------------

Yeah thanks. I am not sure if that compareTo method is even in use at all. Its a candidate for removal. The code is from 2010 ;)

> Method HMACAccumulator::compareTo() always returns false
> --------------------------------------------------------
>
>                 Key: CAMEL-19194
>                 URL: https://issues.apache.org/jira/browse/CAMEL-19194
>             Project: Camel
>          Issue Type: Task
>          Components:  camel-crypto
>            Reporter: Dmitrii Kriukov
>            Priority: Minor
>
> It was found during code inspection. The condition 
> equal && x < len
> in line 167 is always false.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)