Pankraz76 commented on code in PR #2415:
URL: https://github.com/apache/maven/pull/2415#discussion_r2117688353
##########
compat/maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java:
##########
@@ -112,10 +112,8 @@ protected static File getFileForClasspathResource(String
resource)
protected ArtifactRepository getLocalRepository() throws Exception {
ArtifactRepositoryLayout repoLayout =
getContainer().lookup(ArtifactRepositoryLayout.class);
- ArtifactRepository r = repositorySystem.createArtifactRepository(
+ return repositorySystem.createArtifactRepository(
"local", "file://" +
getLocalRepositoryPath().getAbsolutePath(), repoLayout, null, null);
-
- return r;
Review Comment:
- https://github.com/pmd/pmd/issues/5770
--
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]