codewithsinchana opened a new pull request, #13954:
URL: https://github.com/apache/maven/pull/13954

   This PR addresses part of #13830 by introducing the noun-style `snapshot()` 
accessor to the `Artifact` interface. The existing `isSnapshot()` method is 
retained as a deprecated default method with `@Deprecated(since = "4.2.0", 
forRemoval = true)`, delegating to the new accessor to maintain backward 
compatibility. This change follows the API migration pattern established by the 
`Repository` interface and helps maintain consistency across Maven's immutable 
API types.
   
   - [ ] I hereby declare this contribution to be licensed under the [Apache 
License Version 2.0, January 2004](https://www.apache.org/licenses/LICENSE-2.0)
   


-- 
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]

Reply via email to