Thanks Jonas, We have fixed this issue in #513
Best regards, Eugene Zhuravlev IntelliJ Software, http://www.intellij.com/ "Develop with pleasure" > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] On Behalf Of Jonas Kvarnstr?m > Sent: 30 October, 2001 6:41 PM > To: [EMAIL PROTECTED] > Subject: [Eap-list] Build 511: Bug in Introduce Field in nested class > > > Consider the following class: > > public class TestIDEA > { > public static class Nested { > public Nested(Integer foo) { > System.out.println(foo.toString()); > } > } > } > > After selecting foo.toString() and choosing 'introduce > field', I get the > following result: > > public class TestIDEA > { > private String x; > > public static class Nested { > public Nested(Integer foo) { > x = foo.toString(); > System.out.println(x); > } > } > } > > I would have expected the String field to be generated inside Nested. > > > > _______________________________________________ > 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
