Local Duplicate on Arrays
Hi,
While reporting duplicates related to arrays, the intellij shows them as duplicate if the array size matches. Not its contents.
e.g String[] a = {"a", "b"} and String[] k = {"",""};
Are shown as duplicates but the side view shows contents are different.
It is bit confusiong to show this as duplicate. Any reason, why intellij would like to show this duplicate.
Regards,
Nagendra
Please sign in to leave a comment.
Hello Nagendra,
do you have anonymize string literals switch on?
Thank you
-
Anna Kozlova
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
Yep.. thank you.. that was the issue.