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.
Bug #10
ArtifactLocatorStrategy.javalines 161-168ArtifactNotFoundExceptionextendsArtifactResolutionExceptionin the Maven artifact API, so thecatch (ArtifactNotFoundException e)block at lines 165-168 is never reached — the precedingcatch (ArtifactResolutionException e)at lines 161-164 catches all instances. This makes the second catch block dead code.