why Eclipse automatically added "MyClass." to a static variable? [message #263642] |
Mon, 25 August 2008 10:13  |
Eclipse User |
|
|
|
Originally posted by: www.nospam.net
Hi,
I am not sure what I have touched on the Eclipse configuration. Right
now, when I save a Java file, Eclipse automatically adds something. For
example, I have a Java class file:
public class MyClass
{
final static String NAME = "HELLO";
...
public void doIt()
{
String newName = NAME + " WORLD";
...
}
}
After I hit "Save" button, the file automatically becomes:
public class MyClass
{
final static String NAME = "HELLO";
...
public void doIt()
{
String newName = MyClass.NAME + " WORLD";
...
}
}
I don't like this feature. I hope to turn it off. Could you help me?
Thank you.
|
|
|
|
Powered by
FUDForum. Page generated in 0.07574 seconds