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

robertlazarski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git

commit efa70b71c2251131ac658afaa32b10b1843e1961
Author: Robert Lazarski <[email protected]>
AuthorDate: Sun May 17 11:57:40 2026 -1000

    AXIS2-5904 Add Javadoc to PolicySubject.getVersion()
    
    Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
---
 modules/kernel/src/org/apache/axis2/description/PolicySubject.java | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/modules/kernel/src/org/apache/axis2/description/PolicySubject.java 
b/modules/kernel/src/org/apache/axis2/description/PolicySubject.java
index bdfbc3e940..79ba92d950 100644
--- a/modules/kernel/src/org/apache/axis2/description/PolicySubject.java
+++ b/modules/kernel/src/org/apache/axis2/description/PolicySubject.java
@@ -120,6 +120,13 @@ public class PolicySubject {
         this.version = VERSION_COUNTER.incrementAndGet();
     }
 
+    /**
+     * Returns the current version of the policy set, represented by a
+     * monotonically increasing number. This version number changes every
+     * time a policy is attached, detached, updated, or cleared.
+     *
+     * @return the current policy version
+     */
     public long getVersion() {
         return version;
     }

Reply via email to