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.
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
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...
>
>>I guess that the attached screenshot says it all
>
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
Gabriel Lozano-Morán wrote:
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
Acutally I am using the setter in the getter.
Gabriel Lozano-Morán wrote:
Oops. And I thought I looked properly before sending the posting. :)
Ciao,
Jens
--
http://www.jenswinter.com
It's my fault I should have mentioned it