Skip to content

False positive: enum became abstract #57

@lbergelson

Description

@lbergelson

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions