Hi,

I just have fetched a new version of Jbehave and I'm getting a compiler error at *eclipse*... maven's build is ok.

I'm using a new eclipse helios 3.6.1 and maybe could be some about compiler defaults configuration on jdk 6 at eclipse... I don't remember to have change anything...

On AbsolutePathCalculator.java and RelativePathCalculator.java, IDE is complaing about "@Override" statement:

"The method calculate(String, String) of type AbsolutePathCalculator must override a superclass method AbsolutePathCalculator.java /jbehave-core/src/main/java/org/jbehave/core/io line 8 Java Problem"

"The method calculate(String, String) of type RelativePathCalculator must override a superclass method RelativePathCalculator.java /jbehave-core/src/main/java/org/jbehave/core/io line 15 Java Problem"

public class AbsolutePathCalculator implements PathCalculator {
*@Override*
    public String calculate(String root, String path) {
        return path;
    }
}

it works ok after have removed the statement...

Should we use *Override *just when we extend some class from now? and why maven build don't give me anything? :-s

did somebody already saw something like that?

regards

Cristiano

Reply via email to