7 comments
Comment actions Permalink

Whi is it invalid?

--
Eugene Pasynkov
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Gabriel Lozano-Moran" <no_reply@jetbrains.com> wrote in message
news:5765006.1164360111262.JavaMail.itn@is.intellij.net...
>I guess that the attached screenshot says it all


0
Comment actions Permalink

Sorry, I see the problem

--
Eugene Pasynkov
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Eugene Pasynkov (JetBrains)" <Eugene.Pasynkov@jetbrains.com> wrote in
message news:ek6f62$j96$1@is.intellij.net...

Whi is it invalid?

>

--
Eugene Pasynkov
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Gabriel Lozano-Moran" <no_reply@jetbrains.com> wrote in message
news:5765006.1164360111262.JavaMail.itn@is.intellij.net...

>>I guess that the attached screenshot says it all
>



0
Comment actions Permalink

Fixed in the next build

--
Eugene Pasynkov
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Gabriel Lozano-Moran" <no_reply@jetbrains.com> wrote in message
news:5765006.1164360111262.JavaMail.itn@is.intellij.net...
>I guess that the attached screenshot says it all


0
Comment actions Permalink

Gabriel Lozano-Morán wrote:

I guess that the attached screenshot says it all


Hm, I think the warning is valid. Since the property WagonId is declared
private the compiler can tell if set is used or not. And I suppose
WagonId is not assigned a value anywhere within your class.

If you make the setter public the hint should go away.

Ciao,
Jens

--
http://www.jenswinter.com

0
Comment actions Permalink

Acutally I am using the setter in the getter.

0
Comment actions Permalink

Gabriel Lozano-Morán wrote:

Acutally I am using the setter in the getter.


Oops. And I thought I looked properly before sending the posting. :)


Ciao,
Jens

--
http://www.jenswinter.com

0
Comment actions Permalink

It's my fault I should have mentioned it

0

Please sign in to leave a comment.