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

Claus Ibsen commented on CAMEL-19201:
-------------------------------------

Ah no it should be like this

        if (maxDeep == 0) {
            // disable it
            this.maxDeep = -1;
        } else {
            this.maxDeep = maxDeep;
        }


> Unused assignment in AdviceWithBuilder::maxDeep()
> -------------------------------------------------
>
>                 Key: CAMEL-19201
>                 URL: https://issues.apache.org/jira/browse/CAMEL-19201
>             Project: Camel
>          Issue Type: Task
>          Components: camel-core-model
>            Reporter: Dmitrii Kriukov
>            Priority: Minor
>
> Line 122
> Should the entire if block be removed?



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

Reply via email to