Skip to content

ArtifactLocatorStrategy: ArtifactNotFoundException catch block is dead code #92

Description

@elharo

Bug #10

ArtifactLocatorStrategy.java lines 161-168

ArtifactNotFoundException extends ArtifactResolutionException in the Maven artifact API, so the catch (ArtifactNotFoundException e) block at lines 165-168 is never reached — the preceding catch (ArtifactResolutionException e) at lines 161-164 catches all instances. This makes the second catch block dead code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomerspriority:minorMinor loss of function, or other problem where easy workaround is present

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions