This is an automated email from the ASF dual-hosted git repository.

cstamas pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-resolver.git


The following commit(s) were added to refs/heads/master by this push:
     new 73949d445 Javadoc update (#1925)
73949d445 is described below

commit 73949d445ffd28c785529a92569deb6b26932ab9
Author: Tamas Cservenak <[email protected]>
AuthorDate: Mon Jun 15 20:52:03 2026 +0200

    Javadoc update (#1925)
    
    Update Javadoc of policies, precisely explaining which policy what
    expects or enforces.
    
    Fixes #1920
---
 .../main/java/org/eclipse/aether/repository/RepositoryPolicy.java   | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/maven-resolver-api/src/main/java/org/eclipse/aether/repository/RepositoryPolicy.java
 
b/maven-resolver-api/src/main/java/org/eclipse/aether/repository/RepositoryPolicy.java
index 3f6aeea44..00a0a43de 100644
--- 
a/maven-resolver-api/src/main/java/org/eclipse/aether/repository/RepositoryPolicy.java
+++ 
b/maven-resolver-api/src/main/java/org/eclipse/aether/repository/RepositoryPolicy.java
@@ -44,17 +44,17 @@ public final class RepositoryPolicy {
     public static final String UPDATE_POLICY_INTERVAL = "interval";
 
     /**
-     * Verify checksums and fail the resolution if they do not match.
+     * Enforce presence of checksums and fail the resolution if they do not 
match or are absent.
      */
     public static final String CHECKSUM_POLICY_FAIL = "fail";
 
     /**
-     * Verify checksums and warn if they do not match.
+     * Expect presence of checksums and warn if they do not match or are 
absent.
      */
     public static final String CHECKSUM_POLICY_WARN = "warn";
 
     /**
-     * Do not verify checksums.
+     * Ignore presence and verification of checksums.
      */
     public static final String CHECKSUM_POLICY_IGNORE = "ignore";
 

Reply via email to