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

False positive: enum became abstract #57

Open
lbergelson opened this issue Jul 26, 2019 · 0 comments
Open

False positive: enum became abstract #57

lbergelson opened this issue Jul 26, 2019 · 0 comments

Comments

@lbergelson
Copy link

We see a false positive report of This class became abstract on an enum.

Previously the enum was a simple enum of the form

enum Thing {
  First,
  Second
}

It subsequently gained an abstract method:

enum Thing {
   First() {
     void doThing(){..}
   },
   Second(){
     void doThing(){..}
   }

  abstract void doThing(){}
}

We now get a false positive report the Thing is abstract despite the fact that by definition enums are concrete final classes.

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