-
Dec 18th, 2007, 06:04 PM
#1
SpringIDE warns non-public init method, but Springs calls it
JDK 1.4.2, Spring 1.2.8, Eclipse 3.3.1.1, 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?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules