prathamesh04 opened a new pull request, #113: URL: https://github.com/apache/maven-shared-io/pull/113
## Description This PR fixes a dead code issue in `ArtifactLocatorStrategy.java`. ### Problem The `ArtifactNotFoundException` catch block (lines 165-168) was unreachable because `ArtifactNotFoundException` extends `ArtifactResolutionException`. The first catch block catches all instances, making the second catch block dead code. ### Solution Removed the dead catch block and the unused import for `ArtifactNotFoundException`. ## Related Issue Closes #92 ## Changes - `src/main/java/org/apache/maven/shared/io/location/ArtifactLocatorStrategy.java`: Removed dead catch block and unused import -- 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]
