On Tue, Sep 28, 2010 at 3:25 PM, Gilles Sadowski <gil...@harfang.homelinux.org> wrote: >> >> It seems some recent changes break compilation. Not in this specific >> set, but probably one of the previous ones from today or yesterday. > > Break compilation? > "mvn clean site" produces a "BUILD SUCCESSFUL" here. > >> The problems are some @Override annotations in BetaDistributionImpl >> (getAlpha, getBeta), GammaDistributionImpl (getalpha, getBeta) and >> ExponentialDistributionImpl (getMean). They directly implement >> interfaces and do not extend a superclass, so the Override annotation >> generates an error (at least on Eclipse). > > So, does that mean that Eclipse refuses to compile because of annotations? > Seems a bug in Eclipse... > > Is it the expected behaviour that "@Override" only means "overrides a > method in a class but not in an interface"?
JDK 1.5 doesn't allow @Override for interface - JDK 1.6 does. Niall > [Anyway, I'll try and remove the annotations in all those problematic > cases. I thought I was being nice in putting them :-}.] > > > Gilles > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > For additional commands, e-mail: dev-h...@commons.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org