Skip to content

IF statement condition is always false #486

@scuniff

Description

@scuniff

} else if (shapeij instanceof PolygonRoi || r instanceof EllipseRoi) {

At line 384, the code snippet “r instanceof EllipseRoi” will always be false because line 384 is inside the if statement of line 348 which says variable r is an instance of ShapeRoi.

referring back to line 384, was “r instanceof EllipseRoi” meant to be "shapeij instanceof EllipseRoi”

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions