Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

abstract method generated 2 times. #13

Open
Shekharrajak opened this issue Nov 17, 2016 · 0 comments
Open

abstract method generated 2 times. #13

Shekharrajak opened this issue Nov 17, 2016 · 0 comments

Comments

@Shekharrajak
Copy link

I added interface IShape :

public interface IShape {

    /**
     * @return
     */
    public abstract double getArea();

}

then added a class Rectangle immplements IShape :
I copied the abstract method getArear() into the class Rectangle from IShape and unchecked the isAbstract box.

public class Rectangle implements IShape {

    /**
     * @return
     */
    public double getArea() {
        // TODO implement here
        return 0.0d;
    }

    /**
     * @return
     */
    public abstract double getArea();

So it should not generate code with 2 methods public double getArea() and public abstract double getArea(); in java.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant