gnodet-bot commented on code in PR #13801:
URL: https://github.com/apache/maven/pull/13801#discussion_r4457979295
##########
api/maven-api-core/src/main/java/org/apache/maven/api/Session.java:
##########
@@ -564,7 +564,7 @@ Collection<DownloadedArtifact> resolveArtifacts(
* Gets the relative path for a locally installed artifact. Note that the
artifact need not actually exist yet at
* the returned location, the path merely indicates where the artifact
would eventually be stored.
* <p>
- * Shortcut for {@code
getService(LocalArtifactManager.class).getPathForLocalArtitact(...)}.
+ * Shortcut for {@code
getService(LocalArtifactManager.class).getPathForLocalArtifact(...)}.
Review Comment:
⚠️ **Incomplete fix**: The method name typo is correctly fixed, but the same
`{@code}` block also references the wrong service class: `LocalArtifactManager`
should be `LocalRepositoryManager`. The `@see` tag on line 572 already uses the
correct class.
```suggestion
* Shortcut for {@code
getService(LocalRepositoryManager.class).getPathForLocalArtifact(...)}.
```
--
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]