green-code-initiative / ecoCode-java

Reduce the environmental footprint of your Java software programs
https://ecocode.io
GNU General Public License v3.0
4 stars 21 forks source link

[GRC1B] - Extension de la règle GRC1 avec l'utilisation des Stream #38

Open 47tibo opened 4 months ago

47tibo commented 4 months ago

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like A clear and concise description of what you want to happen.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

cyChop commented 3 months ago

Streams are already taken into account in EC1, see the associated test cases: https://github.com/green-code-initiative/ecoCode-java/blob/main/src/test/files/AvoidSpringRepositoryCallInStreamCheck.java

Is there something in particular that would require reviewing?