Ahmedfir / java-business-locations

extracts business-logic code locations.
Apache License 2.0
1 stars 2 forks source link

else if condition not being parsed #2

Open Ahmedfir opened 3 months ago

Ahmedfir commented 3 months ago

Thank you @Asma-Ha for reporting this bug. I have just added two tests in CliRequestTest revealing it (I commented out the failing assertions). If you want, you can propose a pull request to fix it.

Ahmedfir commented 3 months ago

Fix in progress

Ahmedfir commented 3 months ago

@Asma-Ha I have added a few more tests. I found another issue: when a return statement is in the same line as the if, the returned value is not masked. e.g.: if (CDT) return VAL; --> VAL is ignored.