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

Reply via email to