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

0
2 comments

Hello Nagendra,

do you have anonymize string literals switch on?

Thank you
-


Anna Kozlova
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

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
---
Original message URL:
http://www.jetbrains.net/devnet/message/5255054#5255054



0

Yep.. thank you.. that was the issue.

0

Please sign in to leave a comment.