You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "fly (Jira)" <ji...@apache.org> on 2021/01/21 11:58:00 UTC

[jira] [Updated] (CAMEL-16068) Wrong code in class AWS2S3Endpoint

     [ https://issues.apache.org/jira/browse/CAMEL-16068?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

fly updated CAMEL-16068:
------------------------
    Environment: camel-aws2-s3:3.7.0

> Wrong code in class AWS2S3Endpoint
> ----------------------------------
>
>                 Key: CAMEL-16068
>                 URL: https://issues.apache.org/jira/browse/CAMEL-16068
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-aws2
>    Affects Versions: 3.7.0
>         Environment: camel-aws2-s3:3.7.0
>            Reporter: fly
>            Priority: Major
>
> Wrong code on line 119:
> ```
> if (ase.awsErrorDetails().errorCode().equalsIgnoreCase("404")) {
>  throw ase;
>  }
>  
> Correct writing method:
> ```
> if (!ase.awsErrorDetails().errorCode().equalsIgnoreCase("404")) {
>  throw ase;
>  }
> There are similar bugs elsewhere



--
This message was sent by Atlassian Jira
(v8.3.4#803005)