I've found a couple of things with method inlining, which don't actually do
things incorrectly but could be made more useful.
[I'm using 609.]
If I inline the call to internal() in the following class:
public class A
{
private int internal()
{
int j = 2;
return j;
}
public int external()
{
int i = internal();
}
}
I get the following:
public class A
{
public int external()
{
int j = 2;
int i = j;
}
}
Problem #1: the double assignment shouldn't be required.
Problem #2: the cursor remains on the line with the same line number you
were on previously, rather than on the bit of code where the cursor was.
Calum
CONFIDENTIALITY NOTICE: This message is confidential and for the use only of
the intended recipient. If you receive the message in error you are not
entitled to disseminate, copy or use the contents in any way. In such
circumstances please forward the message back to the sender or contact IT
Services at the group's parent company - Aspects Software Ltd, by telephone
on +44 (0) 131 225 9500. WARNING: While Aspects Software Ltd and all its
subsidiaries take steps to prevent computer viruses from being transmitted
via electronic mail attachements we cannot guarentee that attachments do not
contain computer virus code. You are therefore strongly advised to undertake
anti virus checks prior to accessing the attachement to this electronic
mail. Neither Aspects Software Ltd nor any of its subsidiaries grants any
warrenties regarding performance use or quality of any attachment and
undertakes no liability for loss or damage howsoever caused.
_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list