elharo opened a new issue, #92:
URL: https://github.com/apache/maven-shared-io/issues/92

   ## 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.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to