Hi Alain.

I've mentioned this on the list before.  I believe it's somewhere on the
IntelliJ to-do list to be fixed, but in the meantime if you use the
convention:

    final Object[] pk_args = new Object[]{i_value0};

then the inline will work fine.

Merry Christmas,
Dan

> -----Original Message-----
> From: Alain Ravet [mailto:[EMAIL PROTECTED]]
> Sent: 20 December 2001 21:31
> To: [EMAIL PROTECTED]
> Subject: [Eap-list] unsafe inline
> 
> 
> In the 2nd line, IDEA allows you to inline the parameter pk_args,
> 
>         final Object[] pk_args = {i_value0};
>         return i_pattern.format(pk_args);
> into 
>         return i_pattern.format({i_value0});
> 
> but this code does not compile :
> 
> --Alain Ravet
> 
> _______________________________________________
> Eap-list mailing list
> [EMAIL PROTECTED]
> http://www.intellij.com/mailman/listinfo/eap-list
> 


***************************************************************************************
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-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list

Reply via email to