jbetancourt
Aug 19th, 2004, 01:19 AM
Not sure where to post this message; its not really architectural or api usage help question. Please move to appropiate place.
In Eclipse one can set compiler settings per project. I'm curious what are developers using for these settings? What should the settings be? Which settings actually help avoid problematic code and which just generate noise.
On a cvs checkout of the whole spring module, and using the default Eclipse compiler settings, I see many warnings. If I leave the checks for javadocs the count is much greater of course.
Many of the warnings are stylistic, such as,
"The local variable beanFactory is hiding a field from type AbstractXmlApplicationContext". Others are:
"Access to enclosing constructor ConstructorArgumentValues.ValueHolder(Object, String) is emulated by a synthetic accessor method. Increasing its visibility will improve your performance"
Note: warning. While experiment with the settings and going back and forth from workspace to project options then clicking 'use default settings' in the compiler dialog, my Eclipse compiler was temporarily incapacitated (some of the eclipse libraries were not found).
J. Betancourt
In Eclipse one can set compiler settings per project. I'm curious what are developers using for these settings? What should the settings be? Which settings actually help avoid problematic code and which just generate noise.
On a cvs checkout of the whole spring module, and using the default Eclipse compiler settings, I see many warnings. If I leave the checks for javadocs the count is much greater of course.
Many of the warnings are stylistic, such as,
"The local variable beanFactory is hiding a field from type AbstractXmlApplicationContext". Others are:
"Access to enclosing constructor ConstructorArgumentValues.ValueHolder(Object, String) is emulated by a synthetic accessor method. Increasing its visibility will improve your performance"
Note: warning. While experiment with the settings and going back and forth from workspace to project options then clicking 'use default settings' in the compiler dialog, my Eclipse compiler was temporarily incapacitated (some of the eclipse libraries were not found).
J. Betancourt