SONARJAVA-6123 Issues for rule S8433#5463
Conversation
rombirli
left a comment
There was a problem hiding this comment.
The change in the code looks good to me, but I'd suggest testing it (constructorCallIndex == -1 is always false)
…ructor call is present.
1e5813c to
637113f
Compare
Sorry? constructorCallIndex == -1 iff we haven't explicit constructor call. As I've said we fix it in our sample (l.136) |
Ah my bad I didn't see this sample, LGTM then |
710767d to
cbe840b
Compare
|
|
The target branch was unlocked and auto-merge was canceled to prevent unexpected actions. |





Added fix for the rule S8433 to raise issues only when explicit constructor call is present.