That's why I requested an "Show changed places" *after* the operation, so 
one could easily take a look at the results.

Tom


At 15:58 15.04.2002 +0100, you wrote:

>I think that it's definitely dangerous so a warning of some kind is
>warranted.
>
>And after looking at all the possibilities, it's not so simple :(
>
>First, it's impossible to guarantee that the refactoring is completely
>without side effects:
>
>Object a = x.abc():
>y.xyz();
>return a;
>
>y.xyz() may impact the return value of x.abc().
>
>
>So the only warning that should appear is if any of the variables used
>in the initialization is reassigned:
>
>int a = x + y;
>x = ...;        // or y = ...;
>return a;
>
>Any other warning would be way to intrusive.
>
>Carlos
>
>--
>Carlos Costa e Silva <[EMAIL PROTECTED]>
>
>
>_______________________________________________
>Eap-list mailing list
>[EMAIL PROTECTED]
>http://www.intellij.com/mailman/listinfo/eap-list


_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list

Reply via email to