Hi All, I am facing strange issue with SpreadOpera...
# detekt
v
Hi All, I am facing strange issue with SpreadOperator as Sonar blocked it https://arturbosch.github.io/detekt/performance.html#spreadoperator . We have gone through this link but we could not understand how to fix this issue if the array is dynamic ( coming from an external library).. Can any one please help me on how to fix this issue.?
c
Is there a reason you don't want to suppress it? Sometimes that's the right answer.
v
@Charles Yes, i can do that .. in sonarqube have to treat like false positive or wont fix.. that solves the problem. but my doubt is about the Imposed Rule .. how it handles dynamic array
b
I have this rule disabled exactly for this reason. Now that I think of it I should ask as you are doing now before.
v
faced first time. made as false positive in sonarqube.. didnt disable it