Skip to content

Missing parentheses in a link, caused IndexOutOfBoundsException #2

Description

@mhuzaifa125

if(openParen-nextCloseBracket==1)

Missing parentheses in a link, caused IndexOutOfBoundsException
Fixed by adding an if statement that checks if openParen or closeParen are -1, breaks if condition passes

Enter before line 24

if(openParen == -1 || closeParen == -1) {
                    break;
}

Screen Shot 2022-02-17 at 4 26 56 PM

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