See here: http://blogs.sun.com/ahe/?entry=override
The upshot: If you want to generate code that compiles cleanly on 1.5 and 1.6, then you need to remove @override where you have implementations rather than over-rides. This makes @override waaaay less useful and makes eclipse a little bit more of a pisser to use. On Wed, Jan 21, 2009 at 9:27 PM, Jeff Eastman <j...@windwardsolutions.com>wrote: > IIRC, Eclipse adds them erroneously but some versions do not complain. I > believe it is incorrect to use override annotations for implementing methods > defined in interfaces. > > Am I the only person experiencing this problem? > > Jeff > > > > Ted Dunning wrote: > >> Delete them? >> >> On Wed, Jan 21, 2009 at 9:07 PM, Jeff Eastman <j...@windwardsolutions.com >> >wrote: >> >> >> >>> I'm trying to compile the latest Mahout trunk on my MacBook using the JVM >>> 1.6.0 JRE and the @Override annotations are causing a lot of errors. >>> There >>> must be a simple solution to this problem but I cannot recall it. Can >>> somebody help? >>> >>> Jeff >>> >>> >>> >> >> >> >> >> > > -- Ted Dunning, CTO DeepDyve 4600 Bohannon Drive, Suite 220 Menlo Park, CA 94025 www.deepdyve.com 650-324-0110, ext. 738 858-414-0013 (m)