Dec 18th, 2007, 06:04 PM
SpringIDE warns non-public init method, but Springs calls it
JDK 1.4.2, Spring 1.2.8, Eclipse 126.96.36.199, SpringIDE 2.0.1.
I was looking at the warnings that Eclipse was giving me on some code, and I noticed a warning due to the SpringIDE (I assume), complaining that the method specified on an "init-method" attribute is not public.
However, what I noticed is that Spring happily calls that private method at init time. Is this warning just a "this should probably be public, but it'll work if it's not" statement?