gnodet-bot commented on code in PR #13954:
URL: https://github.com/apache/maven/pull/13954#discussion_r4556959657
##########
impl/maven-core/src/main/java/org/apache/maven/resolver/SpiWorkspaceReaderAdapter.java:
##########
@@ -153,8 +153,8 @@ public String classifier() {
}
@Override
- public boolean isSnapshot() {
- return artifact.isSnapshot();
+ public boolean snapshot() {
+ return artifact.snapshot();
Review Comment:
**Compile error** — `artifact` here is typed as
`org.eclipse.aether.artifact.Artifact`, which only declares `isSnapshot()`.
There is no `snapshot()` method on the resolver API, so this call will fail to
compile.
```suggestion
return artifact.isSnapshot();
```
--
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]