Consider this code example:
String s = "";
String t = "";
RuntimeException runtimeException = new RuntimeException(|);
("|" is the caret position)SmartType code completion picking "s" with <Enter> or <Tab>: RuntimeException runtimeException = new RuntimeException(s)|; (as expected) Now, consider this code example: String s = ""; String t = ""; RuntimeException runtimeException = new RuntimeException(|s); SmartType code completion picking "t" with <Enter>: RuntimeException runtimeException = new RuntimeException(ts)|; (as expected) SmartType code completion picking "t" with <Tab>: RuntimeException runtimeException = new RuntimeException(t)|; (as expected) Finally, consider this code example: String s = ""; RuntimeException runtimeException = new RuntimeException(|null); SmartType code completion picking "s" with <Enter>: RuntimeException runtimeException = new RuntimeException(snull)|; (as expected) SmartType code completion picking "s" with <Tab>: RuntimeException runtimeException = new RuntimeException(snull)|; (UNEXPECTED) Should be: RuntimeException runtimeException = new RuntimeException(s)|; Something similar happens when there is more than one parameter and you try SmartType code completion on one that is currently null. Another minor thing. -Thomas ************************************ If this email is not intended for you, or you are not responsible for the delivery of this message to the addressee, please note that this message may contain ITT Privileged/Proprietary Information. In such a case, you may not copy or deliver this message to anyone. You should destroy this message and kindly notify the sender by reply email. Information contained in this message that does not relate to the business of ITT is neither endorsed by nor attributable to ITT. ************************************ _______________________________________________ Eap-list mailing list [EMAIL PROTECTED] http://www.intellij.com/mailman/listinfo/eap-list
