alfasoftware / astra

Astra: a Java tool for analysing and refactoring Java source code
Apache License 2.0
68 stars 35 forks source link

Reduce cognitive complexity of ChainedMethodInvocationRefactor#handleMethodInvocation and use only one break or continue statement #104

Closed RadikalJin closed 2 years ago

RadikalJin commented 2 years ago

See https://sonarcloud.io/project/issues?resolved=false&types=CODE_SMELL&id=alfasoftware_astra&open=AYDiEpr_kKZeZDp5nkOu and https://sonarcloud.io/project/issues?resolved=false&types=CODE_SMELL&id=alfasoftware_astra&open=AYDiEpr_kKZeZDp5nkOt

mohannaidu commented 2 years ago

can you assign this issue to me? let me have a go at it

mohannaidu commented 2 years ago

i managed to fix the first issue. looking at the second sonar issue

RadikalJin commented 2 years ago

Hey @mohannaidu! Sure, I’ll assign this to you now.

mohannaidu commented 2 years ago

Create a PR. Please review and let me know if any changes required.