java.lang.String vs. String

After upgrading to 811, I noticed that some of my files have errors
because of strings. For example, when trying to pass two strings into the
StringTokenizer constructor, it gets underlined in red. The error is
something like "StringTokenizer(String, String) cannot be applied to
(java.lang.String, java.lang.String). However, it compiles with no errors.
Has anyone else noticed this, or is it something I'm doing wrong, or
should I submit a request to have it fixed?? I did a search and it looks
like nobody has reported it yet...

thanks,
adam



2 comments

Nevermind - I found it - #11368.

"Adam Cabler" <adam_cabler@mentor.com> wrote in message
news:b7nb0c$dv7$1@is.intellij.net...

After upgrading to 811, I noticed that some of my files have errors
because of strings. For example, when trying to pass two strings into the
StringTokenizer constructor, it gets underlined in red. The error is
something like "StringTokenizer(String, String) cannot be applied to
(java.lang.String, java.lang.String). However, it compiles with no

errors.

Has anyone else noticed this, or is it something I'm doing wrong, or
should I submit a request to have it fixed?? I did a search and it looks
like nobody has reported it yet...

>

thanks,
adam

>
>
>


0

Please sign in to leave a comment.