Hi, i am facing like may expose internal representation by storing an externally mutable object into

i am trying to fix the code smells but showing below error

may expose internal representation by storing an externally mutable object into

anyone could pls give me the solution

Hey there.

This issue is actually being raised by the third-party plugin GitHub - spotbugs/sonar-findbugs: SpotBugs plugin for SonarQube. If you are facing issues resolving the issue, I suggest raising an issue with the maintainer.

Hi Colin , i have seen but didnot understand could you please elaborate a bit…