> This cast is autogenerated by the itco template. This seems to be a problem of "itco" template then, rather than of inline. :) Don't know how to solve it though.
Best regards, Valentin Kipiatkov ----------------------------------------------------------- IntelliJ Software, http://www.intellij.com/ "Develop with pleasure" ----------------------------------------------------------- ----- Original Message ----- From: "Thomas Singer" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, January 04, 2002 5:20 PM Subject: RE: [Eap-features] (Object)-cast in inline variable > This cast is autogenerated by the itco template. > > Tom > > At 13:58 04.01.02 +0000, you wrote: > >Erm, looks like garbage in, garbage out to me. Surely the cast in the line: > > > > Object o = (Object) itSub.next(); > > > >is superfluous? > > > >Just curious, > >Dan > > > > > -----Original Message----- > > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > > > Sent: 04 January 2002 12:54 > > > To: [EMAIL PROTECTED] > > > Subject: [Eap-features] (Object)-cast in inline variable > > > > > > > > > Object o = (Object) itSub.next(); > > > subsystems.add(o); > > > > > > if you inline o, you get > > > > > > subsystems.add((Object) itSub.next()); > > > > > > I think the cast to Object does not have any meaning > > > as iterator.next returns Object anyway, > > > so IDEA could leave it out. > > > > > > It's just a minor request, of course... ;-) > > > > > > > > > best regards, > > > Micheal Damberger > > > ________________________________________________________________ > > > Keine verlorenen Lotto-Quittungen, keine vergessenen Gewinne mehr! > > > Beim WEB.DE Lottoservice: http://tippen2.web.de/?x=13 > > > > > > > > > > > > _______________________________________________ > > > Eap-features mailing list > > > [EMAIL PROTECTED] > > > http://www.intellij.com/mailman/listinfo/eap-features > > > > > > > > >*************************************************************************** ************ > >This email and any files transmitted with it are confidential and intended > >solely for the use of the individual or entity to whom they are addressed. > >If you have received this email in error please notify > >[EMAIL PROTECTED] immediately. > > > >This footnote also confirms that this email message has been swept for the > >presence of computer viruses. > >*************************************************************************** ************ > > > >_______________________________________________ > >Eap-features mailing list > >[EMAIL PROTECTED] > >http://www.intellij.com/mailman/listinfo/eap-features > > > _______________________________________________ > Eap-features mailing list > [EMAIL PROTECTED] > http://www.intellij.com/mailman/listinfo/eap-features _______________________________________________ Eap-features mailing list [EMAIL PROTECTED] http://www.intellij.com/mailman/listinfo/eap-features
