Skip to content

[GCI28] Optimize read file exceptions - Need explanations #367

@MP-Aubay

Description

@MP-Aubay

Hello,

I have some difficulties to understand the rule GCI28 "Optimize read file exceptions", in the asciidoc (https://github.com/green-code-initiative/creedengo-rules-specifications/blob/main/src/main/rules/GCI28/java/GCI28.asciidoc) the only difference between non compliant and compliant code is the filename check and the removal of try catch.

With this documentation I can't manage to identify if my projects have issues or false positives ...

If you have any insight about this rule, I will gladly appreciate it :).

Regards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions