Casting to incompatible interface

Having
List ls=null; List ls2=(List)ls; then the obsolete cast (List]]>) is marked with
"Casting to incompatible interface".
(Build 4121).
Is this already known?

2 comments

Sven Steiniger wrote:

Having
List<String> ls=null;
List<String> ls2=(List<String>)ls;
then the obsolete cast (List<String>) is marked with
"Casting to incompatible interface".
(Build 4121).
Is this already known?


http://www.jetbrains.net/jira/browse/IDEADEV-4270
Known and fixed in the currently available #4137.

Bas

0

Bas Leijdekkers schrieb:

Sven Steiniger wrote:

>> Having
>> List ls=null; >> List ls2=(List)ls; >> then the obsolete cast (List) is marked with >> "Casting to incompatible interface". >> (Build 4121). >>]]> Is this already known?


http://www.jetbrains.net/jira/browse/IDEADEV-4270
Known and fixed in the currently available #4137.

Bas


Thanks

0

Please sign in to leave a comment.